This repository has been archived by the owner on Aug 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ignition-diskful-subsequent.target
This target is a combination of `ignition-subsequent.target` and `ignition-diskful.target` - units here should only run when we have a boot disk and *aren't* doing the first boot. This came out of discussion in coreos/fedora-coreos-config#271 Will be used by FCOS. Suggested-by: @jlebon
- Loading branch information
Showing
3 changed files
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# This target is a combination of ignition-subsequent.target and | ||
# ignition-diskful.target - units here should only run when we have a | ||
# boot disk and *aren't* doing the first boot. | ||
[Unit] | ||
Description=Ignition Subsequent Boot Disk Setup | ||
Documentation=https://github.com/coreos/ignition | ||
ConditionPathExists=/etc/initrd-release | ||
Before=ignition-subsequent.target | ||
|
||
# Make sure we stop all the units before switching root | ||
Conflicts=initrd-switch-root.target umount.target | ||
Conflicts=dracut-emergency.service emergency.service emergency.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters