1
0
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:
Ruben S. Montero 2021-04-14 15:53:45 +02:00
parent 6a553c226b
commit de44bf570d
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -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 " \