mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-29 11:10:09 +00:00
minor fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
b40c74a723
commit
bf19cbf698
@ -150,7 +150,7 @@ getLatestTemplate(){
|
|||||||
local tamplates=($(pveam available | grep $1))
|
local tamplates=($(pveam available | grep $1))
|
||||||
local latest=${templates[-1]}
|
local latest=${templates[-1]}
|
||||||
|
|
||||||
pvaem download local ${latest}
|
pveam download local ${latest}
|
||||||
|
|
||||||
[ -z $2 ] \
|
[ -z $2 ] \
|
||||||
|| eval "$2=${latest}"
|
|| eval "$2=${latest}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user