@@ -353,7 +353,7 @@ write_bond_parameters(const NetplanNetDefinition* def, GString* s)
353
353
if (def -> bond_params .selection_logic )
354
354
g_string_append_printf (params , "\nAdSelect=%s" , def -> bond_params .selection_logic );
355
355
if (def -> bond_params .all_members_active )
356
- g_string_append_printf (params , "\nAllSlavesActive=%d" , def -> bond_params .all_members_active ); /* wokeignore:rule=slave */
356
+ g_string_append_printf (params , "\nAllSlavesActive=%d" , def -> bond_params .all_members_active ); /* wokeignore:rule=slave */
357
357
if (def -> bond_params .arp_interval ) {
358
358
g_string_append (params , "\nARPIntervalSec=" );
359
359
if (interval_has_suffix (def -> bond_params .arp_interval ))
@@ -393,7 +393,7 @@ write_bond_parameters(const NetplanNetDefinition* def, GString* s)
393
393
g_string_append_printf (params , "\nGratuitousARP=%d" , def -> bond_params .gratuitous_arp );
394
394
/* TODO: add unsolicited_na, not documented as supported by NM. */
395
395
if (def -> bond_params .packets_per_member )
396
- g_string_append_printf (params , "\nPacketsPerSlave=%d" , def -> bond_params .packets_per_member ); /* wokeignore:rule=slave */
396
+ g_string_append_printf (params , "\nPacketsPerSlave=%d" , def -> bond_params .packets_per_member ); /* wokeignore:rule=slave */
397
397
if (def -> bond_params .primary_reselect_policy )
398
398
g_string_append_printf (params , "\nPrimaryReselectPolicy=%s" , def -> bond_params .primary_reselect_policy );
399
399
if (def -> bond_params .resend_igmp )
@@ -916,13 +916,13 @@ netplan_netdef_write_network_file(
916
916
}
917
917
}
918
918
919
- if (def -> dhcp4 || def -> dhcp6 || def -> critical ) {
919
+ if (def -> dhcp4 || def -> dhcp6 || def -> keep_configuration ) {
920
920
/* NetworkManager compatible route metrics */
921
921
g_string_append (network , "\n[DHCP]\n" );
922
922
}
923
923
924
- if (def -> critical )
925
- g_string_append_printf (network , "CriticalConnection=true \n" );
924
+ if (def -> keep_configuration )
925
+ g_string_append_printf (network , "KeepConfiguration=%s \n" , def -> keep_configuration );
926
926
927
927
if (def -> dhcp4 || def -> dhcp6 ) {
928
928
if (def -> dhcp_identifier )
0 commit comments