Update disk.sh
This commit is contained in:
parent
f19ca5b6a3
commit
f652076049
1 changed files with 5 additions and 1 deletions
|
@ -611,7 +611,11 @@ if [ -z "$DISK_FMT" ]; then
|
||||||
if [ -f "$DISK1_FILE.qcow2" ]; then
|
if [ -f "$DISK1_FILE.qcow2" ]; then
|
||||||
DISK_FMT="qcow2"
|
DISK_FMT="qcow2"
|
||||||
else
|
else
|
||||||
DISK_FMT="raw"
|
if [[ "$BOOT" == *".qcow2" ]] && [ ! -f "$DISK1_FILE.img" ]; then
|
||||||
|
DISK_FMT="qcow2"
|
||||||
|
else
|
||||||
|
DISK_FMT="raw"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue