-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
overlay/05core: Set systemd LogColor=false
We deploy on servers. The ANSI colors codes in the console output often end up in e.g. log files where they both make the logs hard to read *and* they make log files invalid UTF-8. This file needs to be created in both the real root and the initramfs, so extend our `99journald-conf` to be `99systemd-conf`.
- Loading branch information
Showing
4 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
overlay.d/05core/usr/lib/dracut/modules.d/99systemd-conf/10-coreos-nocolor.conf
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,6 @@ | ||
# We deploy on servers. The ANSI colors codes in the console | ||
# output often end up in e.g. log files where they both | ||
# make the logs hard to read *and* they make log files | ||
# invalid UTF-8. | ||
[Manager] | ||
LogColor=false |
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
6 changes: 6 additions & 0 deletions
6
overlay.d/05core/usr/lib/systemd/system.conf.d/10-coreos-nocolor.conf
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,6 @@ | ||
# We deploy on servers. The ANSI colors codes in the console | ||
# output often end up in e.g. log files where they both | ||
# make the logs hard to read *and* they make log files | ||
# invalid UTF-8. | ||
[Manager] | ||
LogColor=false |