mirror of
https://github.com/hectorm/docker-qemu-reactos
synced 2025-09-11 06:14:32 +00:00
Shutdown services gracefully
This commit is contained in:
5
scripts/service/qemu/control/t
Executable file
5
scripts/service/qemu/control/t
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
printf '%s\n' 'system_powerdown' | nc -U /run/qemu-monitor
|
@ -4,7 +4,7 @@ set -eu
|
||||
|
||||
set --
|
||||
set -- "$@" -smp "${VM_CPU:?}" -m "${VM_RAM:?}"
|
||||
set -- "$@" -serial stdio -device VGA -display vnc=:0
|
||||
set -- "$@" -serial stdio -monitor unix:/run/qemu-monitor,server,nowait -device VGA -display vnc=:0
|
||||
set -- "$@" -drive file=/var/lib/qemu/images/reactos.img,index=0,media=disk,format=qcow2
|
||||
set -- "$@" -drive file=/var/lib/qemu/iso/reactos.iso,index=2,media=cdrom,format=raw
|
||||
set -- "$@" -boot order="${VM_BOOT_ORDER:?}",menu=off
|
||||
|
Reference in New Issue
Block a user