qemu dependencies and fixed disk to install to

This commit is contained in:
cvoges12 2021-09-25 18:05:46 +00:00
parent a36ebcb064
commit f0b627e1cf
1 changed files with 2 additions and 1 deletions

View File

@ -25,6 +25,7 @@ dd if=win of=win.iso
rm -rf win
# qemu
# install qemu libvirt-daemon spice-vdagent spice-client-gtk
SPICE_PORT=5924
qemu-system-x86_64 \
-enable-kvm \
@ -37,7 +38,7 @@ qemu-system-x86_64 \
-vga qxl \
-boot d \
-cdrom win.iso \
-drive file=/dev/sda,cache=none,if=virtio \
-drive file=/dev/sdb,cache=none,if=virtio \ # change drive if needed
-spice port=${SPICE_PORT},disable-ticketing \
-device virtio-serial \
-chardev spicevmc,id=vdagent,name=vdagent \