Allow for the container's disk to live in BTRFS storage

This commit is contained in:
Niels Ganser
2022-03-10 14:22:33 +01:00
parent 9b446c786a
commit b542b4adf9

View File

@ -142,7 +142,7 @@ pveam download $_storage_template $_template &>/dev/null \
# Create variables for container disk # Create variables for container disk
_storage_type=$(pvesm status -storage $_storage 2>/dev/null | awk 'NR>1 {print $2}') _storage_type=$(pvesm status -storage $_storage 2>/dev/null | awk 'NR>1 {print $2}')
case $_storage_type in case $_storage_type in
dir|nfs) btrfs|dir|nfs)
_disk_ext=".raw" _disk_ext=".raw"
_disk_ref="$_ctid/" _disk_ref="$_ctid/"
;; ;;