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:
@@ -19,7 +19,7 @@ test -n "${BOOT_A_LEFT}" || setenv BOOT_A_LEFT 3
|
||||
test -n "${BOOT_B_LEFT}" || setenv BOOT_B_LEFT 3
|
||||
|
||||
# HassOS bootargs
|
||||
setenv bootargs_hassos "zram.enabled=1 zram.num_devices=3 apparmor=1 security=apparmor systemd.machine_id=${MACHINE_ID} fsck.repair=yes"
|
||||
setenv bootargs_hassos "zram.enabled=1 zram.num_devices=3 apparmor=1 security=apparmor net.naming-scheme=v250 systemd.machine_id=${MACHINE_ID} fsck.repair=yes"
|
||||
|
||||
# HassOS system A/B
|
||||
setenv bootargs_a "root=PARTUUID=48617373-06 rootfstype=squashfs ro rootwait"
|
||||
|
||||
Reference in New Issue
Block a user