Update disk.sh
This commit is contained in:
parent
a6a2ab0e77
commit
8bc6644789
1 changed files with 1 additions and 5 deletions
|
@ -616,13 +616,9 @@ DISK4_FILE="/storage4/${DISK_NAME}4"
|
||||||
if [ -z "$DISK_FMT" ]; then
|
if [ -z "$DISK_FMT" ]; then
|
||||||
if [ -f "$DISK1_FILE.qcow2" ]; then
|
if [ -f "$DISK1_FILE.qcow2" ]; then
|
||||||
DISK_FMT="qcow2"
|
DISK_FMT="qcow2"
|
||||||
else
|
|
||||||
if [[ "$BOOT" == *".qcow2" ]] && [ ! -f "$DISK1_FILE.img" ]; then
|
|
||||||
DISK_FMT="qcow2"
|
|
||||||
else
|
else
|
||||||
DISK_FMT="raw"
|
DISK_FMT="raw"
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$ALLOCATE" ]; then
|
if [ -z "$ALLOCATE" ]; then
|
||||||
|
|
Loading…
Reference in a new issue