Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

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 authored and jlebon committed Oct 23, 2019
1 parent c3314f4 commit 1ff9a55
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 1ff9a55

Please sign in to comment.