1
0
mirror of https://github.com/containers/bootc.git synced 2026-02-05 15:45:53 +01:00

Silence cloud-init warnings

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>
This commit is contained in:
Anish Bhatt
2025-12-18 09:21:43 -08:00
committed by Colin Walters
parent eb84e37fbb
commit be96cacb9a

View File

@@ -59,6 +59,13 @@ mkdir -p /etc/cloud/cloud.cfg.d
cat > /etc/cloud/cloud.cfg.d/80-enable-root.cfg <<'CLOUDEOF'
# Enable root login for testing
disable_root: false
# In image mode, the host root filesystem is mounted at /sysroot, not /
# That is the one we should attempt to resize, not what is mounted at /
growpart:
mode: auto
devices: ["/sysroot"]
resize_rootfs: false
CLOUDEOF
fi