feat: Make bootdisk optional
This commit is contained in:
parent
0dad8ba830
commit
fac628f0d8
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ VERS=$(qemu-system-x86_64 --version | head -n 1 | cut -d '(' -f 1)
|
||||||
|
|
||||||
[ ! -d "$STORAGE" ] && error "Storage folder (${STORAGE}) not found!" && exit 13
|
[ ! -d "$STORAGE" ] && error "Storage folder (${STORAGE}) not found!" && exit 13
|
||||||
|
|
||||||
if [ ! -f "$STORAGE/data.img" ]; then
|
if [ ! -f "$STORAGE/boot.img" ]; then
|
||||||
. /run/install.sh
|
. /run/install.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue