mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Fix for ESX 5.5 and libvrit revert snapshot problem
This commit is contained in:
parent
a3ef8a0375
commit
c497223735
@ -189,8 +189,11 @@ class VMwareDriver
|
||||
#
|
||||
# [1] $ONE_LOCATION/lib/remotes/vmm/vmware/checkpoint
|
||||
|
||||
rc, info = do_action(
|
||||
"virsh -c #{@uri} snapshot-revert #{deploy_id} checkpoint")
|
||||
2.times {
|
||||
rc, info = do_action(
|
||||
"virsh -c #{@uri} snapshot-revert #{deploy_id} checkpoint")
|
||||
break if rc == true
|
||||
}
|
||||
|
||||
exit info if rc == false
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user