mirror of
https://github.com/bashclub/zamba-lxc-toolbox.git
synced 2026-08-17 13:10:40 +02:00
Fix template name
This commit is contained in:
+1
-1
@@ -124,7 +124,7 @@ fi
|
|||||||
|
|
||||||
# Check is the newest template available, else download it.
|
# Check is the newest template available, else download it.
|
||||||
pveam update
|
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
|
pveam download $LXC_TEMPLATE_STORAGE $TMPL_NAME
|
||||||
|
|
||||||
if [ $ctid -gt 99 ]; then
|
if [ $ctid -gt 99 ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user