SHA256
1
0
forked from pool/afterburn
afterburn/no-network-args.patch
Sayali Lunkad 78a2c6cd8d Accepting request 905904 from home:rjschwei:branches:devel:kubic:ignition
- Add set-default-user.patch
  + Set the default user to suse
- Add fix-authorized-keys-location.patch
  + Write the ssh keys to the standard location
- Add no-network-args.patch
  + Networks arguments on the kernel command line are set during image build
    there is no need for another place for a hard coded list.
- Create target dir for afterburn to write configuration file to

OBS-URL: https://build.opensuse.org/request/show/905904
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/afterburn?expand=0&rev=10
2021-07-13 12:28:14 +00:00

16 lines
841 B
Diff

--- 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"
}