Skip to content

Commit

Permalink
quattor/functions/network copy_network_params(Ã): bootproto=none for …
Browse files Browse the repository at this point in the history
…unconfigured interfaces
  • Loading branch information
jouvin committed Nov 12, 2024
1 parent f6dcb9c commit 6291253
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions quattor/functions/network.pan
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ variable MTU ?= dict();
descr = This function configures all the network interfaces declared in\
/hardware/cards/nic. Parameters are taken from variable\
NETWORK_PARAMS (dict) for the main (boot) interface, others\
are configured with dhcp. For every interface, if there is\
an entry in variable MTU, it is also applied to the interface.\
are not configured and disabled on boot (bootproto must be set to none on\
unconfigured interfaces to prevent errors with nmstate. For every interface,\
if there is an entry in variable MTU, it is also applied to the interface.\
Modifies and returns SELF.
}
function copy_network_params = {
Expand All @@ -84,7 +85,7 @@ function copy_network_params = {
} else {
net_params = dict();
net_params["onboot"] = false;
net_params["bootproto"] = "dhcp";
net_params["bootproto"] = "none";
};

mtu_size = undef;
Expand Down

0 comments on commit 6291253

Please sign in to comment.