qemush/qemu/launchers/windows10

16 lines
318 B
Text
Raw Normal View History

#!/usr/bin/env sh
export QEMUSH_RAM=4G
export QEMUSH_BASE=kvm
# Launch the virtual machine
set -- spice \
-drive file="$(pathof disk)",if=virtio \
2024-03-08 23:48:58 +01:00
-net nic -net user,hostname="${QEMUSH_NAME}" \
2023-12-13 12:41:28 +01:00
-usbdevice tablet \
2024-03-08 23:48:58 +01:00
-device intel-hda -device hda-duplex,audiodev=snd0 \
2023-12-13 12:41:28 +01:00
"$@"
# Execute the machine
set -x
exec "$@"