qemush/qemu/launchers/windows10

15 lines
348 B
Text
Raw Normal View History

2023-12-13 12:41:28 +01:00
#!/bin/sh -x
# Store VM name in environment variable
export QEMUSH_NAME
[ -z "$QEMUSH_NAME" ] && QEMUSH_NAME=$(basename "$0")
# Launch the virtual machine
2023-12-13 12:41:28 +01:00
exec kvm-spice \
-monitor "unix:$(sockpath),server,nowait" \
-drive file="$(diskpath)",if=virtio \
-net user,hostname="${QEMUSH_NAME}" \
2023-12-13 12:41:28 +01:00
-usbdevice tablet \
-name "$QEMUSH_NAME" \
2023-12-13 12:41:28 +01:00
"$@"