Update haos_vm.sh

This commit is contained in:
tteckster 2022-03-23 05:38:37 -04:00 committed by GitHub
parent 9796811731
commit 6d95370986
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,7 +134,7 @@ case $FILE in
esac esac
STORAGE_TYPE=$(pvesm status -storage $STORAGE | awk 'NR>1 {print $2}') STORAGE_TYPE=$(pvesm status -storage $STORAGE | awk 'NR>1 {print $2}')
case $STORAGE_TYPE in case $STORAGE_TYPE in
nfs|dir) btrfs|nfs|dir)
DISK_EXT=".qcow2" DISK_EXT=".qcow2"
DISK_REF="$VMID/" DISK_REF="$VMID/"
IMPORT_OPT="-format qcow2" IMPORT_OPT="-format qcow2"