Skip to content

Commit

Permalink
Merge pull request #29 from OpenNebula/b-28
Browse files Browse the repository at this point in the history
B #28: fix variable name causing error in networks
  • Loading branch information
onenhansen authored Jun 25, 2024
2 parents 75965a0 + 2f7ab25 commit d73bee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oneswap_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d73bee4

Please sign in to comment.