Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2024-01-05 02:33:44 +03:00
parent eb2905fb31
commit bfe7482e1d

View File

@ -156,8 +156,6 @@ getLatestTemplate(){
latest=$(pveam list local | grep -o "^.*$latest") latest=$(pveam list local | grep -o "^.*$latest")
echo Using: $latest
[ -z $2 ] \ [ -z $2 ] \
|| eval "$2=${latest}" || eval "$2=${latest}"
} }
@ -329,7 +327,7 @@ pctCreateAlpine(){
local TEMPLATE local TEMPLATE
getLatestTemplate alpine TEMPLATE getLatestTemplate alpine TEMPLATE
pctCreate $1 "${TEMPLATE[-1]}" "$2" "$3" pctCreate $1 "${TEMPLATE}" "$2" "$3"
@ lxc-attach $1 apk update @ lxc-attach $1 apk update
@ lxc-attach $1 apk upgrade @ lxc-attach $1 apk upgrade