mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-30 11:40:07 +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(){
|
getLatestTemplate(){
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
local pattern=$1
|
local pattern=$1
|
||||||
local tamplates=($(pveam available | grep ''${1}'.*$'))
|
local templates=($(pveam available | grep -o ''${1}'.*$'))
|
||||||
# XXX this still includes "system .."
|
|
||||||
local latest=${templates[-1]}
|
local latest=${templates[-1]}
|
||||||
|
|
||||||
pveam download local ${latest}
|
pveam download local ${latest}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user