Skip to content

Instantly share code, notes, and snippets.

@aspiers
Created June 14, 2013 16:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aspiers/5783157 to your computer and use it in GitHub Desktop.
Save aspiers/5783157 to your computer and use it in GitHub Desktop.
diff --git a/scripts/create-vm.sh b/scripts/create-vm.sh
index fa3dc1b..5d71a5a 100755
--- a/scripts/create-vm.sh
+++ b/scripts/create-vm.sh
@@ -69,7 +69,10 @@ main () {
else
echo "Creating $vm_disk as qcow2 image ..."
qemu-img create -f qcow2 "$vm_disk" 4G
- opts=( --pxe )
+ opts=(
+ --pxe
+ --boot network,hd,menu=on
+ )
fi
if [ -n "$filesystem" ]; then
@ajaeger
Copy link

ajaeger commented Jun 14, 2013

First test was successfull after adding this.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment