Compare commits

..

No commits in common. "bf19cbf69868a538b9dc6fd0372b721712af06d7" and "73da4ed12c00ae19a57dca60039557645cae66f7" have entirely different histories.

View File

@ -141,22 +141,6 @@ normpath(){
#----------------------------------------------------------------------
#
# getLatestTemplate PATTERN [VAR]
#
getLatestTemplate(){
IFS=$'\n'
local pattern=$1
local tamplates=($(pveam available | grep $1))
local latest=${templates[-1]}
pveam download local ${latest}
[ -z $2 ] \
|| eval "$2=${latest}"
}
#
# xread [-n] MSG VAR
#