Skip to content

Commit 685c8a9

Browse files
Luap99openshift-cherrypick-robot
authored andcommitted
disable zincati OCI backend warning in MOTD
We don't use that as we ship our own custom images as such this should be disabled to not confuse our users. The following output is printed right now: The zincati service is disabled on this system. If not done so already please migrate the system to the OCI backend for updates by running: stream=stable # or testing or next target=ostree-remote-registry:fedora:quay.io/fedora/fedora-coreos:$stream sudo rpm-ostree rebase $target --reboot Where $stream matches the Fedora CoreOS stream the system is following. To disable this warning, use: sudo systemctl disable coreos-oci-migration-motd.service Signed-off-by: Paul Holzinger <[email protected]>
1 parent 8bf6397 commit 685c8a9

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

podman-image/00-podman-machine.preset

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# Disable Root mountpoint warning on shh login
44
# https://github.com/containers/podman-machine-os/issues/155
55
disable coreos-warn-invalid-mounts.service
6+
# We don't use zincati but because we ship our own custom builds so
7+
# we don't care about the coreos update migration to OCI images.
8+
disable coreos-oci-migration-motd.service
69

710
# Disable coreos chrony config, we do provide our own.
811
disable coreos-platform-chrony-config.service

verify/image_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ var _ = Describe("run image tests", Ordered, ContinueOnFailure, func() {
160160
output := sshSession.outputToString()
161161
Expect(output).To(ContainSubstring("Fedora CoreOS"), "should contain FCOS motd message")
162162
Expect(output).ToNot(ContainSubstring("Warning"), "no warnings in motd message seen")
163+
// no coreos-oci-migration-motd.service output should be seen
164+
Expect(output).ToNot(ContainSubstring("zincati"), "no zincati migrate wanring in motd message seen")
163165
})
164166

165167
It("check systemd resolved is not in use", func() {

0 commit comments

Comments
 (0)