Skip to content

Silence cloud-init warnings around rootfs#1872

Merged
cgwalters merged 1 commit intobootc-dev:mainfrom
anish:cloud-init
Dec 18, 2025
Merged

Silence cloud-init warnings around rootfs#1872
cgwalters merged 1 commit intobootc-dev:mainfrom
anish:cloud-init

Conversation

@anish
Copy link
Contributor

@anish anish commented Dec 18, 2025

Silence cloud-init warnings about resizing rootfs. More discussion in https://gitlab.com/fedora/bootc/examples/-/merge_requests/78

Silence cloud-init warnings about resizing rootfs. More discussion in https://gitlab.com/fedora/bootc/examples/-/merge_requests/78

Signed-off-by: Anish Bhatt <anish.7@gmail.com>
@bootc-bot bootc-bot bot requested a review from ckyrouac December 18, 2025 17:22
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 cloud-init configuration to correctly handle root filesystem resizing in an ostree-based system by targeting /sysroot and disabling resizing of /. The change correctly silences warnings from cloud-init. My feedback includes a suggestion to separate the new configuration into its own file for better maintainability and clarity.

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!

At some point I still hope to do something along the lines of https://gitlab.com/fedora/bootc/osbuild-cfg to add declarative support for enabling cloud-init.

@cgwalters cgwalters merged commit be96cac into bootc-dev:main Dec 18, 2025
42 of 47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants