diff --git a/fedora-coreos-base.yaml b/fedora-coreos-base.yaml index b96e34b2fd..1d6e87141d 100644 --- a/fedora-coreos-base.yaml +++ b/fedora-coreos-base.yaml @@ -22,8 +22,9 @@ initramfs-args: machineid-compat: false releasever: "30" -automatic-version-prefix: "30" -mutate-os-release: "30" +automatic-version-prefix: "${releasever}..dev" +mutate-os-release: "${releasever}" + # Be minimal recommends: false @@ -122,6 +123,17 @@ postprocess: set -xeuo pipefail rm -rf /etc/systemd/system/* systemctl preset-all + # Disable Zincati and fedora-coreos-pinger on non-release builds + # https://github.com/coreos/fedora-coreos-tracker/issues/212 + - | + #!/usr/bin/env bash + set -xeuo pipefail + source /etc/os-release + if [[ $OSTREE_VERSION = *.dev* ]]; then + mkdir -p /etc/fedora-coreos-pinger/config.d /etc/zincati/config.d + echo -e '# https://github.com/coreos/fedora-coreos-tracker/issues/212\nreporting.enabled = false' > /etc/fedora-coreos-pinger/config.d/95-disable-on-dev.toml + echo -e '# https://github.com/coreos/fedora-coreos-tracker/issues/212\nupdates.enabled = false' > /etc/zincati/config.d/95-disable-on-dev.toml + fi packages: # Security diff --git a/manifest.yaml b/manifest.yaml index 314bddc037..0337ae64a2 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -8,3 +8,13 @@ repos: add-commit-metadata: fedora-coreos.stream: testing-devel + +postprocess: + # Disable Zincati and fedora-coreos-pinger on non-production streams + # https://github.com/coreos/fedora-coreos-tracker/issues/163 + - | + #!/usr/bin/env bash + set -xeuo pipefail + mkdir -p /etc/fedora-coreos-pinger/config.d /etc/zincati/config.d + echo -e '# https://github.com/coreos/fedora-coreos-tracker/issues/163\nreporting.enabled = false' > /etc/fedora-coreos-pinger/config.d/90-disable-on-non-production-stream.toml + echo -e '# https://github.com/coreos/fedora-coreos-tracker/issues/163\nupdates.enabled = false' > /etc/zincati/config.d/90-disable-on-non-production-stream.toml