Skip to content

Commit

Permalink
fix typo in net.ifnames detection
Browse files Browse the repository at this point in the history
  • Loading branch information
mhecko committed May 1, 2024
1 parent afb7fe5 commit 4ca08f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def is_net_scheme_compatible_with_current_cmdline():
allows_predictable_names = True
already_has_a_net_naming_scheme = False
for param in kernel_cmdline.parameters:
if param.key == 'net.ifname':
if param.key == 'net.ifnames':
if param.value == '0':
allows_predictable_names = False
elif param.value == '1':
Expand Down

0 comments on commit 4ca08f4

Please sign in to comment.