This commit is contained in:
Matthieu Bessat 2024-05-26 22:17:13 +02:00
parent e61fe7e3f7
commit a0ea7b0a3f
18 changed files with 366 additions and 30 deletions

View file

@ -1,15 +1,9 @@
#!/usr/bin/sh
# -cdrom /mnt/extramedia3/mbess/os_images/arch/2024-05-01/archlinux-2024.05.01-x86_64.iso \
#
#-hdb secondary.qcow \
#
# -spice unix=on,addr=/tmp/vm_monakhos.spice.socket,disable-ticketing=on \
echo "Launching vm"
qemu-system-x86_64 \
-hda main.qcow \
-hda $1 \
-boot order=d \
-m 2G \
-accel kvm \
@ -21,4 +15,6 @@ qemu-system-x86_64 \
-spice addr=127.0.0.1,port=4354,disable-ticketing=on \
-net user,hostfwd=tcp::2222-:22 \
-net nic \
-D ./log.txt \
$RUN_VM_EXTRA_ARGS