docker-qemu-reactos/scripts/bin/container-init
2021-10-31 13:07:59 +01:00

12 lines
228 B
Bash
Executable File

#!/bin/sh
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
# Start all services
exec runsvdir -P /etc/service/