-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
05core/*: display Ignition warnings on the console
Fixes coreos/fedora-coreos-tracker#1125 This change displays all Ignition warnings on the console. Also, renamed the existing Ignition service to make it more generalized for handling status information about the Ignition run.
- Loading branch information
1 parent
ec96e60
commit 9b35aab
Showing
4 changed files
with
23 additions
and
16 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
14 changes: 0 additions & 14 deletions
14
overlay.d/05core/usr/lib/systemd/system/coreos-check-ignition-config.service
This file was deleted.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
overlay.d/05core/usr/lib/systemd/system/coreos-ignition-write-issues.service
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,16 @@ | ||
# This service writes issue files describing status | ||
# information about the Ignition run, which includes | ||
# Ignition warnings and information if no Ignition | ||
# config is provided. | ||
[Unit] | ||
Description=Create Ignition Status Issue Files | ||
Before=systemd-user-sessions.service | ||
ConditionPathExists=/etc/.ignition-result.json | ||
|
||
[Service] | ||
Type=oneshot | ||
ExecStart=/usr/libexec/coreos-ignition-write-issues | ||
RemainAfterExit=yes | ||
|
||
[Install] | ||
WantedBy=multi-user.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