mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-25 02:50:08 +03:00
Feature #3227: Fix for hybrid IP display
This commit is contained in:
parent
43ff2acaad
commit
ac918db20a
@ -421,11 +421,11 @@ class OneVMHelper < OpenNebulaHelper::OneHelper
|
||||
when "vcenter"
|
||||
nic.IP = vm_tmplt['GUEST_IP'] if vm_tmplt['GUEST_IP']
|
||||
when "ec2"
|
||||
nic.IP = vm_tmplt['GUEST_IP'] if vm_tmplt['IP_ADDRESS']
|
||||
nic.IP = vm_tmplt['IP_ADDRESS'] if vm_tmplt['IP_ADDRESS']
|
||||
when "azure"
|
||||
nic.IP = vm_tmplt['GUEST_IP'] if vm_tmplt['IPADDRESS']
|
||||
nic.IP = vm_tmplt['IPADDRESS'] if vm_tmplt['IPADDRESS']
|
||||
when "softlayer"
|
||||
nic.IP = vm_tmplt['GUEST_IP'] if vm_tmplt['PRIMARYIPADDRESS']
|
||||
nic.IP = vm_tmplt['PRIMARYIPADDRESS'] if vm_tmplt['PRIMARYIPADDRESS']
|
||||
else
|
||||
isHybrid = false
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user