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

Feature #3654: Add boot_failure to vcenter driver

(cherry picked from commit 03b93f0b02be461b68ff7fd38126f938ffcf97c1)
This commit is contained in:
Carlos Martín 2015-03-31 12:05:29 +02:00 committed by Ruben S. Montero
parent 94559dedcc
commit 21cf03c43b

View File

@ -680,7 +680,7 @@ class VCenterVm
# @xml_text XML repsentation of the VM
############################################################################
def self.deploy(xml_text, lcm_state, deploy_id, hostname)
if lcm_state == "BOOT"
if lcm_state == "BOOT" || lcm_state == "BOOT_FAILURE"
return clone_vm(xml_text)
else
hid = VIClient::translate_hostname(hostname)