Skip to content

Conversation

@joelcapitao
Copy link
Contributor

@joelcapitao joelcapitao commented Jan 14, 2026

Add a new [install.ostree] configuration section to allow setting the ostree sysroot.bls-append-except-default option during installation.

Closes: #1710

Signed-off-by: Joel Capitao jcapitao@redhat.com
Co-authored-by: Jean-Baptiste Trystram jbtrystram@redhat.com
Assisted-by: Claude (Sonnet 4)

@github-actions github-actions bot added the area/install Issues related to `bootc install` label Jan 14, 2026
@bootc-bot bootc-bot bot requested a review from cgwalters January 14, 2026 15:51
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds support for configuring sysroot.bls-append-except-default for ostree during installation. The changes are well-structured, introducing the necessary configuration options and the logic to apply them. The new functionality is also covered by a test case. I've provided a couple of suggestions to improve code readability and remove duplication.

@joelcapitao joelcapitao force-pushed the feat-grubusers branch 3 times, most recently from c13cf9e to b806975 Compare January 20, 2026 18:03
@joelcapitao
Copy link
Contributor Author

It looks like the packit failures are not related to this patch

Copy link
Collaborator

@cgwalters cgwalters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the install config docs for this.

We could probably also add this option to one of our existing install tests too (we have a bunch).

Otherwise I just have nits.

@cgwalters
Copy link
Collaborator

I rebased 🏄 this btw alongside other outstanding PRs

@github-actions github-actions bot added area/ostree Issues related to ostree area/documentation Updates to the documentation labels Jan 21, 2026
@joelcapitao joelcapitao force-pushed the feat-grubusers branch 2 times, most recently from 9de6c8f to ed03854 Compare January 22, 2026 07:45
Add a new [install.ostree] configuration section to allow setting the
ostree sysroot.bls-append-except-default option during installation.

Closes: bootc-dev#1710

Signed-off-by: Joel Capitao <jcapitao@redhat.com>
Co-authored-by: Jean-Baptiste Trystram <jbtrystram@redhat.com>
Assisted-by: Claude (Sonnet 4)
@cgwalters cgwalters self-assigned this Jan 22, 2026
Copy link
Collaborator

@cgwalters cgwalters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@cgwalters cgwalters merged commit b901498 into bootc-dev:main Jan 22, 2026
29 of 36 checks passed
joelcapitao added a commit to joelcapitao/osbuild that referenced this pull request Jan 22, 2026
Add support for the new [install.ostree] configuration section
with the bls-append-except-default option, which was introduced
in bootc PR osbuild#1909 [1]

This option allows setting the ostree sysroot.bls-append-except-default
config key during installation, which appends kernel arguments to
Boot Loader Spec entries except for the default entry. A common use
case is setting grub_users="" to bypass GRUB password prompts for
non-default deployments.

Example usage in manifest:
  {
    "type": "org.osbuild.bootc.install.config",
    "options": {
      "filename": "10-custom.toml",
      "config": {
        "install": {
          "ostree": {
            "bls-append-except-default": "grub_users=\"\""
          }
        }
      }
    }
  }

[1] bootc-dev/bootc#1909

Signed-off-by: Joel Capitao <jcapitao@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/documentation Updates to the documentation area/install Issues related to `bootc install` area/ostree Issues related to ostree

Projects

None yet

Development

Successfully merging this pull request may close these issues.

install: support passing ostree repo config

3 participants