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

Enforce top level keys in autoinstall user data #1899

Commits on Feb 6, 2024

  1. autoinstall: prepare to enforce top-level keys

    Subiquity currently ignores invalid top-level keys, but this has likely
    been a major source of confusion of autoinstall capabilities.
    
    In the future, the following autoinstall config will throw an
    AutoinstallValidationError:
    
        version: 1
        interactive-sections:
            - identity
        literally-anything: lmao
    
    This patch adds warnings to the logger and the machinery to
    conditionally warn or error depending on the specified autoinstall
    version.
    Chris-Peterson444 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    7a5c552 View commit details
    Browse the repository at this point in the history