initial commit
This commit is contained in:
commit
e61fe7e3f7
16 changed files with 740 additions and 0 deletions
24
vm_tools/run_vm.sh
Executable file
24
vm_tools/run_vm.sh
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
#!/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 \
|
||||
-boot order=d \
|
||||
-m 2G \
|
||||
-accel kvm \
|
||||
-monitor telnet:127.0.0.1:2069,server,nowait \
|
||||
-cpu host \
|
||||
-chardev qemu-vdagent,id=ch1,name=vdagent,clipboard=on \
|
||||
-device virtio-serial \
|
||||
-device virtserialport,chardev=ch1,name=com.redhat.spice.0 \
|
||||
-spice addr=127.0.0.1,port=4354,disable-ticketing=on \
|
||||
-net user,hostfwd=tcp::2222-:22 \
|
||||
-net nic \
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue