From 9825bd7178c546229d2c943c2d507ab52ed4e2bc Mon Sep 17 00:00:00 2001 From: Alexandre Derumier Date: Tue, 2 Jun 2020 11:20:26 +0200 Subject: [PATCH] vlan: ovs: remove twice defined ovsbridge ports Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/Zones/VlanPlugin.pm | 5 ----- 1 file changed, 5 deletions(-) diff --git a/PVE/Network/SDN/Zones/VlanPlugin.pm b/PVE/Network/SDN/Zones/VlanPlugin.pm index 3bff970..0abe8da 100644 --- a/PVE/Network/SDN/Zones/VlanPlugin.pm +++ b/PVE/Network/SDN/Zones/VlanPlugin.pm @@ -76,11 +76,6 @@ sub generate_sdn_config { push @iface_config, "ovs_ports $vnet_uplink"; push(@{$config->{$bridge}}, @iface_config); - @iface_config = (); - push @iface_config, "ovs_type OVSBridge"; - push @iface_config, "ovs_ports $vnet_uplink"; - push(@{$config->{$bridge}}, @iface_config) if !$config->{$bridge}; - } elsif ($vlan_aware) { # eth0----vlanaware bridge vmbr0--(vmbr0.X tag)---->vnet---->vm $vnet_uplink = "$bridge.$tag"; -- 2.39.5