1
0
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:
Tino Vazquez 2014-10-09 17:01:46 +02:00 committed by Ruben S. Montero
parent a3ef8a0375
commit c497223735

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