Skip to content

Commit

Permalink
Allow for the container to live in BTRFS storage
Browse files Browse the repository at this point in the history
  • Loading branch information
niels authored Mar 10, 2022
1 parent 9b446c7 commit 331e95d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lxc/nginx-proxy-manager/create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ pveam download $_storage_template $_template &>/dev/null \
# Create variables for container disk
_storage_type=$(pvesm status -storage $_storage 2>/dev/null | awk 'NR>1 {print $2}')
case $_storage_type in
dir|nfs)
btrfs|dir|nfs)
_disk_ext=".raw"
_disk_ref="$_ctid/"
;;
Expand Down Expand Up @@ -192,4 +192,4 @@ EOF
info "Setting up LXC container..."
pct start $_ctid
sleep 3
pct exec $_ctid -- sh -c "wget --no-cache -qO - $_raw_base/setup.sh | sh"
pct exec $_ctid -- sh -c "wget --no-cache -qO - $_raw_base/setup.sh | sh"

0 comments on commit 331e95d

Please sign in to comment.