Skip to content

Commit

Permalink
ncm-network: mirror old bootproto behaviour in nmstate
Browse files Browse the repository at this point in the history
  • Loading branch information
wdpypere committed Feb 3, 2024
1 parent 14a5f7d commit a0e6cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ncm-network/src/main/perl/nmstate.pm
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ sub generate_nmstate_config
my $iface = $net->{interfaces}->{$name};
my $device = $iface->{device} || $name;
my $is_eth = $iface->{set_hwaddr};
my $eth_bootproto = $iface->{bootproto};
my $eth_bootproto = $iface->{bootproto} || 'static';
my $is_ip = exists $iface->{ip} ? 1 : 0;
my $is_vlan_eth = exists $iface->{vlan} ? 1 : 0;
my $is_bond_eth = exists $iface->{master} ? 1 : 0;
Expand Down

0 comments on commit a0e6cfd

Please sign in to comment.