fix SUSE specific udev regression

Signed-off-by: Christian Goll <cgoll@suse.com>
This commit is contained in:
Christian Goll
2025-03-19 16:05:02 +01:00
committed by Jonathon Anderson
parent d988819d3f
commit eb9a20fa01
4 changed files with 6 additions and 1 deletions

View File

@@ -126,7 +126,7 @@ func (legacy *NodesYaml) Upgrade(addDefaults bool, replaceOverlays bool, warewul
defaultProfile.Kernel = new(node.KernelConf)
}
if len(defaultProfile.Kernel.Args) < 1 {
defaultProfile.Kernel.Args = []string{"quiet", "crashkernel=no"}
defaultProfile.Kernel.Args = []string{"quiet", "crashkernel=no", "net.ifnames=1"}
}
if defaultProfile.Init == "" {
defaultProfile.Init = "/sbin/init"