From 6f0eaf449e660db78a55a5d7aae6ba1ec1dfe06c Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 29 Jun 2021 14:10:59 -0400 Subject: [PATCH] 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. --- .../usr/lib/systemd/system.conf.d/10-coreos-nocolor.conf | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 overlay.d/05core/usr/lib/systemd/system.conf.d/10-coreos-nocolor.conf diff --git a/overlay.d/05core/usr/lib/systemd/system.conf.d/10-coreos-nocolor.conf b/overlay.d/05core/usr/lib/systemd/system.conf.d/10-coreos-nocolor.conf new file mode 100644 index 0000000000..e750ac813c --- /dev/null +++ b/overlay.d/05core/usr/lib/systemd/system.conf.d/10-coreos-nocolor.conf @@ -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