adding override for nm-wait-online-initrd.service to wait for interface config

Signed-off-by: Shane Nehring <snehring@iastate.edu>
This commit is contained in:
Shane Nehring
2025-03-31 15:22:22 -05:00
parent f2b202964c
commit d9db96a453
4 changed files with 14 additions and 1 deletions

View File

@@ -17,4 +17,8 @@ install() {
inst_multiple cpio curl dmidecode
inst_hook cmdline 30 "$moddir/parse-wwinit.sh"
inst_hook pre-mount 30 "$moddir/load-wwinit.sh"
if dracut_module_included "network-manager" && dracut_module_included "systemd"
then
inst_simple "$moddir/nm-wait-online-initrd.service.override" "/etc/systemd/system/nm-wait-online-initrd.service.d/override.conf"
fi
}

View File

@@ -0,0 +1,3 @@
[Service]
ExecStart=
ExecStart=/usr/bin/nm-online -q -t 300