mirror of
https://github.com/ej52/proxmox-scripts.git
synced 2025-07-22 23:48:06 +02:00
Allow for the container's disk to live in BTRFS storage
This commit is contained in:
parent
9b446c786a
commit
b542b4adf9
@ -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/"
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user