mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
B #-: Fixes uplink error importing templates. (#4437)
This commit is contained in:
parent
5b884dc626
commit
6a209118da
@ -543,7 +543,7 @@ class Template
|
||||
when VCenterDriver::Network::NETWORK_TYPE_DPG
|
||||
config[:sw_name] = nic[:network].config.distributedVirtualSwitch.name
|
||||
# For DistributedVirtualPortgroups there is networks and uplinks
|
||||
config[:uplink] = nic[:network].config.uplink
|
||||
config[:uplink] = false
|
||||
# NSX-V PortGroups
|
||||
when VCenterDriver::Network::NETWORK_TYPE_NSXV
|
||||
config[:sw_name] = nic[:network].config.distributedVirtualSwitch.name
|
||||
|
Loading…
x
Reference in New Issue
Block a user