]> git.proxmox.com Git - pve-common.git/blobdiff - src/PVE/INotify.pm
half-revert: remove autostart property from bridge ports
[pve-common.git] / src / PVE / INotify.pm
index a9dbf21265417d56979df15e30729135079a6ada..60610ce507f467d20d66ea30a4e4ec6a38b1dbf1 100644 (file)
@@ -1245,19 +1245,6 @@ sub __write_etc_network_interfaces {
        }
     }
 
-    # Remove autostart from linux bridge ports
-    foreach my $iface (keys %$ifaces) {
-       my $d = $ifaces->{$iface};
-       if ($d->{type} eq 'bridge' && $d->{bridge_ports}) {
-           foreach my $p (split (/\s+/, $d->{bridge_ports})) {
-               my $n = $ifaces->{$p};
-               die "bridge '$iface' - unable to find port '$p'\n"
-                   if !$n;
-               $n->{autostart} = 0;
-           }
-       }
-    }
-
     # check OVS bond ports
     foreach my $iface (keys %$ifaces) {
        my $d = $ifaces->{$iface};