Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

service: exit and prevent restarts if booted into a container image #896

Merged
merged 1 commit into from
Nov 21, 2022

Commits on Nov 21, 2022

  1. Exit if booted into a container image

    This is part of coreos/fedora-coreos-tracker#1263
    
    We don't yet have an official stance on how zincati and custom
    container images interact.  Today, zincati just crash loops.
    This changes things so that we exit (but still with an error) if we detect
    the booted system is using a container image origin.
    
    One nicer thing here is that the unit status is also updated, e.g.
    `systemctl status zincati` will show:
    
    `Status: "Automatic updates disabled; booted into container image ..."`
    cgwalters committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    de798dd View commit details
    Browse the repository at this point in the history