docker-qemu-reactos/scripts/bin/container-init

12 lines
228 B
Plaintext
Raw Normal View History

2019-02-20 22:10:38 +00:00
#!/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
2019-02-20 22:10:38 +00:00
# Start all services
exec runsvdir -P /etc/service/