From c224ebed632fb5a21a38d4affde12600da92feff Mon Sep 17 00:00:00 2001 From: Jakub Filo Date: Tue, 7 Sep 2021 09:13:16 +0000 Subject: [PATCH] Add 'examples/qemu shell start scripts/ubuntu.sh' --- examples/qemu shell start scripts/ubuntu.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 examples/qemu shell start scripts/ubuntu.sh diff --git a/examples/qemu shell start scripts/ubuntu.sh b/examples/qemu shell start scripts/ubuntu.sh new file mode 100644 index 0000000..c79bb0b --- /dev/null +++ b/examples/qemu shell start scripts/ubuntu.sh @@ -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