1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

Fix for ESX 5.5 and libvrit revert snapshot problem

This commit is contained in:
Tino Vazquez 2014-10-09 17:01:46 +02:00
parent 060224ccd8
commit 2fd1d1ffa9

View File

@ -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