mirror of
https://github.com/hectorm/docker-qemu-reactos
synced 2025-02-23 11:36:12 +00:00
Do not create disk if it already exists
This commit is contained in:
parent
6ec8925d59
commit
6aa4e14ff9
@ -3,7 +3,9 @@
|
||||
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/
|
||||
|
Loading…
Reference in New Issue
Block a user