mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
B #: Fix PHYDEV behavior for bridge networks
co-authored-by: Christian González <cgonzalez@opennebula.io> (cherry picked from commit 356c654801cc4007864057b0a375f6e76af83e0e)
This commit is contained in:
parent
6a553c226b
commit
de44bf570d
@ -39,7 +39,7 @@ module VNMMAD
|
||||
create_bridge
|
||||
|
||||
# Return if vlan device is already in the bridge.
|
||||
next if !nic[:phydev] || @bridges[@nic[:bridge]].include? @nic[:phydev]
|
||||
next if !@nic[:phydev] || @bridges[@nic[:bridge]].include? @nic[:phydev]
|
||||
|
||||
# Add phydev device to the bridge.
|
||||
OpenNebula.exec_and_log("#{command(:ip)} link set " \
|
||||
|
Loading…
x
Reference in New Issue
Block a user