1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-19 06:50:07 +03:00

Update virtual_machine.rb

This commit is contained in:
Tino Vázquez 2018-07-23 17:04:32 +02:00
parent ceb98e3efe
commit b15da07d43

View File

@ -1483,7 +1483,9 @@ class VirtualMachine < Template
return self['_ref']
end
#The exception will be handle outside this method
# This method raises an exception if the timeout is reached
# The exception needs to be handled in the VMM drivers and any
# process that uses this method
def wait_deploy_timeout
timeout_deploy = @vi_client.get_property_vcenter_conf(:vm_poweron_wait_default)
time_start = Time.now