afterburn/no-network-args.patch

16 lines
841 B
Diff
Raw Normal View History

--- dracut/30afterburn/module-setup.sh.orig
+++ dracut/30afterburn/module-setup.sh
@@ -16,12 +16,8 @@ install() {
inst_simple "$moddir/afterburn-hostname.service" \
"$systemdutildir/system/afterburn-hostname.service"
- inst_simple "$moddir/afterburn-network-kargs.service" \
- "$systemdutildir/system/afterburn-network-kargs.service"
-
# These services are only run once on first-boot, so they piggyback
# on Ignition completion target.
mkdir -p "$initdir/$systemdsystemunitdir/ignition-complete.target.requires"
ln -s "../afterburn-hostname.service" "$initdir/$systemdsystemunitdir/ignition-complete.target.requires/afterburn-hostname.service"
- ln -s "../afterburn-network-kargs.service" "$initdir/$systemdsystemunitdir/ignition-complete.target.requires/afterburn-network-kargs.service"
}