Fix in live repo

This commit is contained in:
CanbiZ 2024-11-27 21:53:46 +01:00 committed by GitHub
parent 14e4c56625
commit a148c48187
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -252,10 +252,15 @@ nfs | dir)
DISK_IMPORT="-format qcow2"
;;
btrfs)
DISK_EXT=""
DISK_EXT=".raw"
DISK_REF="$VMID/"
DISK_IMPORT="-format raw"
;;
zfspool)
DISK_EXT=""
DISK_REF=""
DISK_IMPORT="-format raw"
;;
esac
DISK_VAR="vm-${VMID}-disk-0${DISK_EXT:-}"