mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-29 11:10:09 +00:00
test...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
bfe7482e1d
commit
03ac4bdbbb
@ -154,7 +154,8 @@ getLatestTemplate(){
|
|||||||
|
|
||||||
@ pveam download local ${latest}
|
@ pveam download local ${latest}
|
||||||
|
|
||||||
latest=$(pveam list local | grep -o "^.*$latest")
|
#latest=$(pveam list local | grep -o "^.*$latest")
|
||||||
|
latest=/var/lib/vz/template/cache/$latest
|
||||||
|
|
||||||
[ -z $2 ] \
|
[ -z $2 ] \
|
||||||
|| eval "$2=${latest}"
|
|| eval "$2=${latest}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user