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

models, sundog, prairiedog: add kernel boot config support #2029

Merged
merged 7 commits into from
May 16, 2022

Commits on May 12, 2022

  1. models: new boot settings to specify kernel boot config

    This adds `settings.boot` to help configure kernel boot config settings.
    etungsten committed May 12, 2022
    Configuration menu
    Copy the full SHA
    0c73dba View commit details
    Browse the repository at this point in the history

Commits on May 13, 2022

  1. prairiedog: add boot config functionality

     - Adds new subcommand `generate-boot-config` to generate an initrd
    image file with boot config contents populated from Bottlerocket boot
    settings.
     - Adds new subcommand `generate-boot-settings` to generate bottlerocket
    settings from kernel's bootconfig file at `/proc/bootconfig`
    
    Moves prairiedog from `sources/prairiedog` to `sources/api/prairiedog`
    now that it needs to query from the Bottlerocket API and need settings
    model information.
    etungsten committed May 13, 2022
    Configuration menu
    Copy the full SHA
    7942a08 View commit details
    Browse the repository at this point in the history
  2. sundog: update settings retrieval to use prefix

    This updates the settings retrieval to use prefixes for matching and
    querying. We cannot use full keys for matching because we now have
    settings generator for keys that map to top level structs that
    encompasses multiple settings.
    etungsten committed May 13, 2022
    Configuration menu
    Copy the full SHA
    88d0a93 View commit details
    Browse the repository at this point in the history
  3. models: add metadata for 'settings.boot'

    Add settings generator for `settings.boot` and restart commands for when
    boot settings change.
    etungsten committed May 13, 2022
    Configuration menu
    Copy the full SHA
    bc1e3d0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b005ed3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ef0c98b View commit details
    Browse the repository at this point in the history
  6. metal: remove kernel console settings from variant metadata

    We've added bootconfig support so console settings should be specified
    through there. The console settings specified to the kernel commandline
    will always take effect, so we're removing them from the variant
    metadata.
    etungsten committed May 13, 2022
    Configuration menu
    Copy the full SHA
    89e7392 View commit details
    Browse the repository at this point in the history