mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 13:15:14 +09:00
B #-: Fixes uplink error importing templates. (#4437)
(cherry picked from commit 6a209118da)
This commit is contained in:
1 parent
b19b08427d
commit
97fa24c61d
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user