Skip to content

Commit ce9a939

Browse files
Merge pull request #179 from openshift-cherrypick-robot/cherry-pick-176-to-v5.6
[v5.6] disable zincati OCI backend warning in MOTD
2 parents 8bf6397 + 685c8a9 commit ce9a939

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)