sys-apps/systemd: Set interface naming scheme to latest

When the initramfs gave a persistent name to
a network interface, renaming it via Name is
not working with the v238 naming scheme even
if NamePolicy is unset.
Switch to the newest network interface naming
scheme to resolve this issue.

https://github.com/flatcar-linux/Flatcar/issues/36
This commit is contained in:
Kai Lüke 2020-03-05 14:09:25 +01:00
parent 0fe7963a36
commit ea35c30a39

View File

@ -292,8 +292,8 @@ multilib_src_configure() {
# Disable the "First Boot Wizard", it isn't very applicable to CoreOS
-Dfirstboot=false
# Preserve the v238 network interface naming scheme for compatibility.
-Ddefault-net-naming-scheme=v238
# Set latest network interface naming scheme for https://github.com/flatcar-linux/Flatcar/issues/36
-Ddefault-net-naming-scheme=latest
# unported options, still needed?
-Defi-cc="$(tc-getCC)"