have dracut explicitly configure defined interfaces

Signed-off-by: Shane Nehring <snehring@iastate.edu>
This commit is contained in:
Shane Nehring
2025-01-24 10:04:37 -06:00
parent 93157d5813
commit 6bad4ed8d1
2 changed files with 2 additions and 1 deletions

View File

@@ -93,6 +93,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Parallelized and optimized overlay build. #1018 - Parallelized and optimized overlay build. #1018
- Added note about dnsmasq interface options in Rocky 9. - Added note about dnsmasq interface options in Rocky 9.
- Added retries to curl in wwinit dracut module. #1631 - Added retries to curl in wwinit dracut module. #1631
- Added ip= argument to dracut ipxe script. #1630
### Removed ### Removed

View File

@@ -23,7 +23,7 @@ kernel --name kernel ${uri}&stage=kernel || goto reboot
echo Downloading initramfs echo Downloading initramfs
initrd --name initramfs ${uri}&stage=initramfs || goto reboot initrd --name initramfs ${uri}&stage=initramfs || goto reboot
set dracut_net rd.neednet=1 {{range $devname, $netdev := .NetDevs}}{{if and $netdev.Hwaddr $netdev.Device}} ifname={{$netdev.Device}}:{{$netdev.Hwaddr}} {{end}}{{end}} set dracut_net rd.neednet=1 {{range $devname, $netdev := .NetDevs}}{{if and $netdev.Hwaddr $netdev.Device}} ifname={{$netdev.Device}}:{{$netdev.Hwaddr}} ip={{$netdev.Device}}:dhcp {{end}}{{end}}
set dracut_wwinit root=wwinit wwinit.uri=${baseuri} init=/init set dracut_wwinit root=wwinit wwinit.uri=${baseuri} init=/init
echo Booting initramfs echo Booting initramfs