docker-qemu-reactos/scripts/bin/container-foreground-cmd
2019-09-02 21:49:16 +02:00

12 lines
248 B
Bash
Executable File

#!/bin/sh
set -eu
# Create ReactOS disk
if [ ! -f /var/lib/qemu/images/reactos.img ]; then
qemu-img create -f "${QEMU_DISK_FORMAT:?}" /var/lib/qemu/images/reactos.img "${QEMU_DISK_SIZE:?}"
fi
# Start all services
exec runsvdir -P /etc/service/