diff --git a/oneswap_helper.rb b/oneswap_helper.rb index 028e52f..01ebd32 100644 --- a/oneswap_helper.rb +++ b/oneswap_helper.rb @@ -1475,7 +1475,7 @@ def add_one_nics(vm_template, vc_nics, vc_nic_backing) #vm_template.add_element('//VMTEMPLATE', net_templ) end - elsif vc_nets.length > 0 + elsif vc_nics.length > 0 puts "You will need to create NICs and assign networks in the VM Template in OpenNebula manually." end vm_template