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

many: switch to bootc install to-filesystem (HMS-3453) #462

Merged
merged 6 commits into from
Mar 26, 2024

Commits on Mar 26, 2024

  1. osbuild(bootc.install-to-fs): fix inputs type

    osbuild.ContainersInput->osbuild.ContainerDeployInputs
    mvo5 authored and achilleas-k committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    9613607 View commit details
    Browse the repository at this point in the history
  2. osbuild(container-deploy): ContainerDeployOptions.Exclude "omitempty"

    The osbuild stage will fail if we pass `None` here.
    mvo5 authored and achilleas-k committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    70d3cfa View commit details
    Browse the repository at this point in the history
  3. manifest: add new RawBootcImage type

    This image type is distinct from the RawOSTreeImage because the
    way `bootc instal to-filesystem` works is quite different from
    how our existing ostree deployments work.
    mvo5 authored and achilleas-k committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    6ae0ec2 View commit details
    Browse the repository at this point in the history
  4. manifest,osbuild: exclude /sysroot from selinux labeling

    This enusre that the buildroot container is setup without selinux
    warnings.
    mvo5 authored and achilleas-k committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    fbfd4bb View commit details
    Browse the repository at this point in the history
  5. image,manifest: add support for user customization (well, not really)

    This adds support for being able to add user customization. In
    practise we can only handle adding root user key(s) for now until
    we have more discussion about how to support adding users in a
    bootc supported way.
    
    This support for keys is essential to allow testing the images
    without play gustfish or similar tricks (which is hard on a
    bootc deploy because bootc will bind mount the deploy `etc`
    over the `sysroot/etc` on first boot so anything we do on the
    root of the disk will not work for /etc (/root/.authorized_keys
    might work actually maybe?).
    
    This also adds support for kernel-args to the bootc install-to-fs
    stage.
    mvo5 authored and achilleas-k committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    2f4dcda View commit details
    Browse the repository at this point in the history
  6. image,manifest: add support for KernelOptionsAppend in bootc

    This commit adds support to include KernelOptionsAppend to a
    BootcDiskImage. This is important for cloud support.
    mvo5 authored and achilleas-k committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    1204d70 View commit details
    Browse the repository at this point in the history