Unattended install of ReactOS

This commit is contained in:
Héctor Molinero Fernández
2021-11-02 21:20:19 +01:00
parent 88a1b868a8
commit 2adbc66a7c
6 changed files with 67 additions and 24 deletions

View File

@ -2,11 +2,6 @@
set -eu
# Create ReactOS disk
if [ ! -f /var/lib/qemu/images/reactos.img ]; then
qemu-img create -f qcow2 /var/lib/qemu/images/reactos.img "${VM_DISK_SIZE:?}"
fi
stop() {
for s in "${SVDIR:?}"/*; do sv force-stop "${s:?}" >/dev/null 2>&1; done
kill -HUP "${RUNSVDIRPID:?}"; wait "${RUNSVDIRPID:?}"