mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-29 03:00:09 +00:00
fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
eb2905fb31
commit
bfe7482e1d
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user