From e26c5e599a0562b5fdd132e69a50b1881cb4f27f Mon Sep 17 00:00:00 2001 From: Elton Renda Date: Mon, 26 Apr 2021 12:33:18 +0200 Subject: [PATCH] fix: #12 - fix _storage_template assignment --- lxc/nginx-proxy-manager/create.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lxc/nginx-proxy-manager/create.sh b/lxc/nginx-proxy-manager/create.sh index 8069cc2..a1a1557 100644 --- a/lxc/nginx-proxy-manager/create.sh +++ b/lxc/nginx-proxy-manager/create.sh @@ -75,8 +75,8 @@ while [[ $# -gt 0 ]]; do _storage=$2 shift ;; - --storage-template) - __storage_template=$2 + --templates) + _storage_template=$2 shift ;; --swap) @@ -99,7 +99,7 @@ _bridge=${_bridge:-vmbr0} _memory=${_memory:-512} _swap=${_swap:-0} _storage=${_storage:-local-lvm} -_storage_template=${__storage_template:-local} +_storage_template=${_storage_template:-local} # Test if ID is in use if pct status $_ctid &>/dev/null; then