From bfe7482e1d53a499d864350949c656588eb81f13 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 5 Jan 2024 02:33:44 +0300 Subject: [PATCH] fix... Signed-off-by: Alex A. Naanou --- .pct-helpers | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.pct-helpers b/.pct-helpers index d2a0b28..f318602 100644 --- a/.pct-helpers +++ b/.pct-helpers @@ -156,8 +156,6 @@ getLatestTemplate(){ latest=$(pveam list local | grep -o "^.*$latest") - echo Using: $latest - [ -z $2 ] \ || eval "$2=${latest}" } @@ -329,7 +327,7 @@ pctCreateAlpine(){ local TEMPLATE getLatestTemplate alpine TEMPLATE - pctCreate $1 "${TEMPLATE[-1]}" "$2" "$3" + pctCreate $1 "${TEMPLATE}" "$2" "$3" @ lxc-attach $1 apk update @ lxc-attach $1 apk upgrade