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.
  • Loading branch information
cgwalters committed Oct 23, 2019
1 parent cefb71c commit 598bbdd
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 @@ -21,4 +21,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 598bbdd

Please sign in to comment.