Currently it's impossible to remove vmbr0 from network gui,
if we really want to remove it, or replace it with an OVS vmbr0
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
# we try to keep order inside the file
my $priority = 2; # 1 is reserved for lo
- # always add the vmbr0 bridge device
- $ifaces->{vmbr0}->{exists} = 1;
-
my $gateway = 0;
while (defined ($line = <$fh>)) {
}
- if (!$gateway) {
- $ifaces->{vmbr0}->{gateway} = '';
- }
if (!$ifaces->{lo}) {
$ifaces->{lo}->{priority} = 1;