mirror of
https://github.com/bashclub/zamba-lxc-toolbox.git
synced 2026-11-06 09:46:46 +01:00
Fix template name
This commit is contained in:
1 parent
fae29e928d
commit
9bf4a9dcce
1 file changed
+1
-1
+1
-1
@@ -124,7 +124,7 @@ fi
|
||||
|
||||
# Check is the newest template available, else download it.
|
||||
pveam update
|
||||
TMPL_NAME=$(pveam available --section system | grep $LXC_TEMPLATE_VERSION | tail -1 | cut -d' ' -f11)
|
||||
TMPL_NAME=$(pveam available --section system | grep $(dpkg --print-architecture) | grep $LXC_TEMPLATE_VERSION | tail -1 | cut -d' ' -f11)
|
||||
pveam download $LXC_TEMPLATE_STORAGE $TMPL_NAME
|
||||
|
||||
if [ $ctid -gt 99 ]; then
|
||||
|
||||
Reference in new issue
Block a user