Skip to content

Commit

Permalink
ignition-firstboot-complete.service: Run as part of basic.target
Browse files Browse the repository at this point in the history
See: openshift/installer#2554

Basically the OpenShift installer on vSphere injects a service which reboots
the first time, but I believe this could easily race with `ignition-firstboot-complete`.

Let's mark the boot complete much earlier.

(cherry picked from commit 598bbdd)
  • Loading branch information
cgwalters committed Oct 23, 2019
1 parent 4213583 commit 439a0ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion systemd/ignition-firstboot-complete.service
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ MountFlags=slave
ExecStart=/bin/sh -c 'mount -o remount,rw /boot && rm /boot/ignition.firstboot'

[Install]
WantedBy=multi-user.target
# Part of basic.target so this happens early on in firstboot
WantedBy=basic.target

0 comments on commit 439a0ae

Please sign in to comment.