summaryrefslogtreecommitdiff
path: root/virtualize
diff options
context:
space:
mode:
authorNullspoon <nullspoon@iohq.net>2014-09-21 16:38:43 -0600
committerNullspoon <nullspoon@iohq.net>2014-09-21 16:38:43 -0600
commite9f96038c7e233cf27479eee0ee276f7a753ab69 (patch)
tree343f48bf61abffe81c3e0df68c005ef3bce0a2be /virtualize
parentb696a3ad149b4a338c0895d10532f29961ea8a2b (diff)
downloadbin-e9f96038c7e233cf27479eee0ee276f7a753ab69.tar.gz
bin-e9f96038c7e233cf27479eee0ee276f7a753ab69.tar.xz
Added documentation to virtualize header
Updated help text as well
Diffstat (limited to 'virtualize')
-rwxr-xr-xvirtualize13
1 files changed, 11 insertions, 2 deletions
diff --git a/virtualize b/virtualize
index a82c28b..b0923bf 100755
--- a/virtualize
+++ b/virtualize
@@ -1,9 +1,18 @@
#!/usr/bin/env bash
+#
+# Provides a very simple "sane" default for quickly virtualizing a system using
+# kvm and qemu. Intended for use to run quick "burn-down" systems for testing
+# (eg: build from live-cd or prebuilt hda using configuration management)
+#
+# Requirements:
+# qemu
+# libvirt
if [[ -z ${1} ]]; then
echo -e "
-Please specify either a system drive to boot (-hda <path>), or a live iso file
-to serve as the bootable virtual cdrom device (-cdrom <path>.iso).\n"
+Please specify at least a system drive to boot (-hda <path>), or a live iso
+file to serve as the bootable virtual cdrom device (-cdrom <path>.iso).\n
+Note that other qemu settings can be passed as well to further customize.\n"
exit 1
fi

Generated by cgit