Updated udev overlay for case-insensitive
Co-authored-by: acabrera86 <acabrera86@users.noreply.github.com> Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
This commit is contained in:
@@ -10,6 +10,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
|
||||
- Added override.conf for nm-wait-online-initrd.service with dracut.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Updated 70-persistent-net.rules.ww to use `(lower $netdev.Type)` for case-insensitive comparison of "infiniband".
|
||||
|
||||
## v4.6.1, 2025-04-04
|
||||
|
||||
### Added
|
||||
|
||||
@@ -46,3 +46,4 @@
|
||||
* Daniele Colombo [@dacolombo](https://github.com/dacolombo)
|
||||
* Stephen Simpson [@ssimpson89](https://github.com/ssimpson89)
|
||||
* Rafael Lopez <raflopez1@gmail.com> @rafalop
|
||||
* Arian Cabrera [@acabrera86](https://github.com/acabrera86)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# This file is autogenerated by warewulf
|
||||
{{range $devname, $netdev := .NetDevs}}
|
||||
{{- if $netdev.Hwaddr }}
|
||||
{{- if eq $netdev.Type "infiniband" }}
|
||||
{{- if eq (lower $netdev.Type) "infiniband" }}
|
||||
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="?*{{ $netdev.Hwaddr }}", NAME="{{ $netdev.Device }}"
|
||||
{{- else }}
|
||||
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="{{ $netdev.Hwaddr }}", NAME="{{ $netdev.Device }}"
|
||||
|
||||
Reference in New Issue
Block a user