Use Network device naming scheme v250 (#2380)
The new systemd version v252 brings a new naming scheme, in particular it seems that on device tree based systems (e.g. Raspberry Pis) the Ethernet device name changes from eth0 to end0. This breaks a previously made configuration. Even worse, it seems that the default NetworkManager behavior is to only configure a network device if there is no profile. But since profiles are configured on a typical installation, NetworkManager doesn't bring up any of the network interface, leaving the user stranded on an unconnected system. Ideally, we should have a plan how to migrate from one naming scheme to the next. For now, just stick with the naming scheme HAOS 9.x has been using.
This commit is contained in:
@@ -56,7 +56,7 @@ fi
|
||||
|
||||
save_env A_TRY A_OK B_TRY B_OK ORDER MACHINE_ID
|
||||
|
||||
default_cmdline="rootwait zram.enabled=1 zram.num_devices=3 apparmor=1 security=apparmor systemd.machine_id=$MACHINE_ID fsck.repair=yes"
|
||||
default_cmdline="rootwait zram.enabled=1 zram.num_devices=3 apparmor=1 security=apparmor net.naming-scheme=v250 systemd.machine_id=$MACHINE_ID fsck.repair=yes"
|
||||
file_env -f ($root)/cmdline.txt cmdline
|
||||
|
||||
# root is a full HDD/partition definition in GRUB format like hd0,gpt1
|
||||
|
||||
Reference in New Issue
Block a user