mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-18 02:42:54 +09:00
Fix for VMware restore to cope with new location of deployment files (/vms/)
This commit is contained in:
1 parent
dea2b088a9
commit
0c8e01b7aa
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user