Skip to content

cloud-init

Version 2026.144.1443
Repo superproject

Cloud-init NoCloud provisioning for first-boot VM/cloud instance bootstrap. Installs cloud-init and the growpart partition-resize utility, then pins the datasource to NoCloud via a drop-in at /etc/cloud/cloud.cfg.d/99-nocloud.cfg so a bootc/VM guest reads its seed ISO (user-data/meta-data) at first boot. The cloud-init binary, the growpart binary, and the NoCloud drop-in are all baked into the image and independently checkable.

Installed on every distro:

  • cloud-init
  • cloud-init-local
  • cloud-init
  • cloud-config
  • cloud-final

This candy’s plan: — the runnable spec charly check executes against a live deployment. check: steps are idempotent probes; run: steps change state.

Intent Step
run mkdir=/etc/cloud/cloud.cfg.d
run write=/etc/cloud/cloud.cfg.d/99-nocloud.cfg
check the cloud-init binary is present in the image
check cloud-init responds to –version with a version string
check the NoCloud datasource drop-in is installed mode 0644
check the drop-in restricts the datasource list to NoCloud
check the growpart partition-resize utility is installed
check package=cloud-init
check file=/etc/cloud/cloud.cfg.d/99-nocloud.cfg
check package=cloud-utils-growpart