Add 'examples/qemu shell start scripts/ubuntu.sh'
This commit is contained in:
parent
f1361298ee
commit
2be74c4f5b
14
examples/qemu shell start scripts/ubuntu.sh
Normal file
14
examples/qemu shell start scripts/ubuntu.sh
Normal file
@ -0,0 +1,14 @@
|
||||
SPICE_PORT=5924
|
||||
qemu-system-x86_64 -enable-kvm -daemonize \
|
||||
-cpu host \
|
||||
-drive file=ubuntu.img,if=virtio \
|
||||
-net nic -net user,hostname=ubuntuvm \
|
||||
-m 1G \
|
||||
-vga qxl \
|
||||
-spice port=${SPICE_PORT},disable-ticketing \
|
||||
-device virtio-serial \
|
||||
-chardev spicevmc,id=vdagent,name=vdagent \
|
||||
-device virtserialport,chardev=vdagent,name=com.redhat.spice.0 \
|
||||
-cdrom server.iso \
|
||||
-boot menu=on \
|
||||
-hda ubuntu2.img
|
Loading…
Reference in New Issue
Block a user