Commit a0e1023b authored by Jean-Baptiste Petre's avatar Jean-Baptiste Petre

kvm does not crash nbd is dead

parent b30a8e88
......@@ -8,7 +8,7 @@ fi
# TODO: -net nic,model=virtio, but OS installer has to provide the virtio_net
# module
exec %(qemu_path)s \
%(qemu_path)s \
-net nic,macaddr=%(mac_address)s \
-smp %(smp_count)s \
-m %(ram_size)s \
......@@ -20,3 +20,18 @@ exec %(qemu_path)s \
-pidfile %(pid_file_path)s \
-no-kvm
# -net tap,ifname=%(tap_interface)s,script=no,downscript=no \
if [ $? -eq 1 ]
then
%(qemu_path)s \
-net nic,macaddr=%(mac_address)s \
-net tap,ifname=%(tap_interface)s,script=no,downscript=no \
-smp %(smp_count)s \
-m %(ram_size)s \
-drive file=%(disk_path)s,if=virtio,boot=on \
-vnc %(vnc_ip)s:1,ipv4,password \
-boot menu=on \
-qmp unix:%(socket_path)s,server \
-pidfile %(pid_file_path)s
-no-kvm
fi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment