diff options
-rwxr-xr-x | virtualize | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/virtualize b/virtualize new file mode 100755 index 0000000..a82c28b --- /dev/null +++ b/virtualize @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +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" + exit 1 +fi + +# Execute +qemu-system-x86_64 -enable-kvm -machine accel=kvm -vga std -m 2048 ${@} |