Skip to content

install to-filesystem: support opt-out for the root and boot mountspec kernel arguments #1441

@jbtrystram

Description

@jbtrystram

I am working on using bootc install to-filesystem to create disk images for Fedora CoreOS.

Currently this works with theses osbuild changes, but the resulting disk image have root=UUID... and boot=UUID... kernel arguments baked in.

This causes issues because ignition generates new uniques UUIDs for those filesystems during the first boot, and if the root argument is already present, some of that logic get short-circuited:

https://github.com/coreos/fedora-coreos-config/blob/bf40cb9f3eef371434b2f6e625250185af7bbc3d/overlay.d/05core/usr/lib/dracut/modules.d/35coreos-ignition/coreos-diskful-generator#L77-L79

So it would be good to be able to not inject those kargs and have our intramfs bit do it after the UUID are regenerated.

More discussion in coreos/fedora-coreos-tracker#1827

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions