mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-27 10:50:10 +03:00
Fix for VMware restore to cope with new location of deployment files (/vms/)
This commit is contained in:
parent
dea2b088a9
commit
0c8e01b7aa
@ -180,7 +180,7 @@ class VMwareDriver
|
||||
# ------------------------------------------------------------------------ #
|
||||
def restore(checkpoint)
|
||||
begin
|
||||
vm_folder=VAR_LOCATION + "/" + File.basename(File.dirname(checkpoint))
|
||||
vm_folder=VAR_LOCATION + "/vms/" + File.basename(File.dirname(checkpoint))
|
||||
dfile=`ls -1 #{vm_folder}/deployment*|tail -1`
|
||||
dfile.strip!
|
||||
rescue => e
|
||||
|
Loading…
x
Reference in New Issue
Block a user