diff options
author | Nullspoon <nullspoon@iohq.net> | 2014-09-21 16:38:43 -0600 |
---|---|---|
committer | Nullspoon <nullspoon@iohq.net> | 2014-09-21 16:38:43 -0600 |
commit | e9f96038c7e233cf27479eee0ee276f7a753ab69 (patch) | |
tree | 343f48bf61abffe81c3e0df68c005ef3bce0a2be | |
parent | b696a3ad149b4a338c0895d10532f29961ea8a2b (diff) | |
download | bin-e9f96038c7e233cf27479eee0ee276f7a753ab69.tar.gz bin-e9f96038c7e233cf27479eee0ee276f7a753ab69.tar.xz |
Added documentation to virtualize header
Updated help text as well
-rwxr-xr-x | virtualize | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -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 |