mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-30 03:30:09 +00:00
typo fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
fb3de38a4f
commit
a60d455dbb
@ -147,8 +147,7 @@ normpath(){
|
||||
getLatestTemplate(){
|
||||
IFS=$'\n'
|
||||
local pattern=$1
|
||||
local tamplates=($(pveam available | grep ''${1}'.*$'))
|
||||
# XXX this still includes "system .."
|
||||
local templates=($(pveam available | grep -o ''${1}'.*$'))
|
||||
local latest=${templates[-1]}
|
||||
|
||||
pveam download local ${latest}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user