Merge pull request #1820 from mslacken/udevRegression

fix SUSE specific udev regression
This commit is contained in:
Jonathon Anderson
2025-04-02 23:47:49 -06:00
committed by GitHub
4 changed files with 6 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- wwclient uses `WW_IPADDR`, if set, to contact the Warewulf server. #1788 - wwclient uses `WW_IPADDR`, if set, to contact the Warewulf server. #1788
- Add `wwctl node import --yes` to assume yes to confirmations. - Add `wwctl node import --yes` to assume yes to confirmations.
- Set an IPMI tag ``vlan`` to configure the vlan during ``ipmiwrite``. #1031 - Set an IPMI tag ``vlan`` to configure the vlan during ``ipmiwrite``. #1031
- Added net.ifnames=1 to default kernel argument list. #1820
### Fixed ### Fixed

View File

@@ -23,6 +23,7 @@ nodeprofiles:
args: args:
- quiet - quiet
- crashkernel=no - crashkernel=no
- net.ifnames=1
init: /sbin/init init: /sbin/init
root: initramfs root: initramfs
ipxe template: default ipxe template: default

View File

@@ -126,7 +126,7 @@ func (legacy *NodesYaml) Upgrade(addDefaults bool, replaceOverlays bool, warewul
defaultProfile.Kernel = new(node.KernelConf) defaultProfile.Kernel = new(node.KernelConf)
} }
if len(defaultProfile.Kernel.Args) < 1 { 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 == "" { if defaultProfile.Init == "" {
defaultProfile.Init = "/sbin/init" defaultProfile.Init = "/sbin/init"

View File

@@ -578,6 +578,7 @@ nodeprofiles:
args: args:
- quiet - quiet
- crashkernel=no - crashkernel=no
- net.ifnames=1
init: /sbin/init init: /sbin/init
root: initramfs root: initramfs
resources: resources:
@@ -658,6 +659,7 @@ nodeprofiles:
args: args:
- quiet - quiet
- crashkernel=no - crashkernel=no
- net.ifnames=1
init: /sbin/init init: /sbin/init
root: initramfs root: initramfs
resources: resources:
@@ -1014,6 +1016,7 @@ nodeprofiles:
args: args:
- quiet - quiet
- crashkernel=no - crashkernel=no
- net.ifnames=1
init: /sbin/init init: /sbin/init
root: initramfs root: initramfs
resources: resources: