* Fixed a bug where the BOOTPROTO="x" was set to dhcp for a bond interface that is connected to a bridge and should have been set to 'none'.

Signed-off-by: Digimer <digimer@alteeve.ca>
main
Digimer 5 years ago
parent e9ee74553a
commit 414bf81f25
  1. 3
      tools/anvil-configure-host

@ -453,6 +453,9 @@ sub reconfigure_network
$bridge_config .= "ZONE=\"".uc($say_interface)."\"\n"; $bridge_config .= "ZONE=\"".uc($say_interface)."\"\n";
} }
# If this is DHCP, but there is a bridge, the bond's boot proto in 'none'.
$boot_proto = "none" if $bridge;
# Build the Bond config. # Build the Bond config.
my $bond_config = "# $say_network - Bond 1\n"; my $bond_config = "# $say_network - Bond 1\n";
$bond_config .= "UUID=\"".$bond_uuid."\"\n"; $bond_config .= "UUID=\"".$bond_uuid."\"\n";

Loading…
Cancel
Save