diff --git a/src/oca/ruby/opennebula/host.rb b/src/oca/ruby/opennebula/host.rb index 9125e6d8f4..2010ddb3b9 100644 --- a/src/oca/ruby/opennebula/host.rb +++ b/src/oca/ruby/opennebula/host.rb @@ -230,7 +230,7 @@ module OpenNebula if vcenter_wild_vm require 'vcenter_driver' host_id = self["ID"] - vm_ref = wild["DEPLOY_ID"] + vm_ref = wild["DEPLOY_ID"] return VCenterDriver::Importer.import_wild(host_id, vm_ref, vm, template) else rc = vm.allocate(template)