Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Cloud Init Knowledge Patch?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nevaberry-cloud-init-knowledge-patch)
---
name: cloud-init-knowledge-patch
description: cloud-init
version: "26.1"
license: MIT
metadata:
author: Nevaberry
---
# Cloud-init Knowledge Patch
Load this skill when working on cloud-init provisioning, network configuration,
datasources, packaging, platform support, or reporting.
Use the quick references below for changed behavior and configuration options;
the topic references include version attributions.
## Reference index
| Reference | Topics |
| --- | --- |
| [Networking and Datasources](references/networking-and-datasources.md) | Interface names, network rendering, router advertisements, route metrics, datasource metadata, Azure provisioning, OpenNebula, and CloudStack |
| [Packaging, Runtime, and Service Integration](references/packaging-runtime-and-services.md) | Python, sandboxed templates, mounts, repositories, certificates, subscriptions, LXD snaps, SSH key generation, and Meson builds |
| [Platforms and Reporting](references/platforms-and-reporting.md) | Raspberry Pi, platform detection and support, Oracle root detection, reporting duration, and boot analysis |
## Breaking changes and compatibility checks
### Python runtime
Support for Python 3.8 is removed. Move deployments and build environments
still on 3.8 to a supported Python version before upgrading.
### Sandboxed templates
Jinja templates now render in a sandbox. This can reject operations that
existing custom templates rely on.
### OpenStack bond names
Cloud-init uses the bond name supplied in `network_data.json` instead of
generated names such as `bond0` and `bond1`. Update scripts and network
configuration that assume the generated interface names.
### Scaleway private addresses and metadata
The datasource exposes the instance region and availability zone and drops
its `private_ip` handling. Check provisioning that relied on the datasource
to handle the private address.
### openEuler subscriptions
The `cc_rh_subscription` module no longer supports openEuler.
### Raspberry Pi provisioning
Fallback network configuration is disabled, and the Raspberry Pi APT mirror
configuration was removed. Raspberry Pi support adds keymap settings,
USB gadget support, and a systemd network service template.
### Debian Bullseye backports
Cloud-init changes the backports suite it selects when configuring APT sources
on Debian Bullseye.
## Network configuration and datasource options
### Version 1 network rendering
Cloud-init renders bonds, bridges, and VLANs from version 1 network
configuration.
### IPv6 router advertisements
Network configuration can set `allow_accept_ra` for bonds, bridges, and VLANs
to control IPv6 router advertisement acceptance on those interfaces.
### NetworkManager route selection
The NetworkManager renderer carries `route-metric` into generated connection
profiles, so NetworkManager can use the configured metric when choosing a route.
### Azure interface naming
Set `apply_network_config_set_name` to `false` to disable application of network
configuration's `set-name` directives on Azure.
### OpenNebula DNS search and static routes
Set `SEARCH_DOMAIN` in OpenNebula network configuration to apply a DNS search
domain to all interfaces. OpenNebula accepts static routes per interface through
`ETHx_ROUTES`, such as `ETH0_ROUTES` for interface 0.
### CloudStack passwords and virtual routers
The CloudStack datasource can fetch the VM password without `wget`, so images
can omit `wget` for this operation. It can obtain virtual router information
from NetworkManager lease files.
See [Networking and Datasources](references/networking-and-datasources.md)
for the version attributions of these changes.
## Provisioning behavior
### Azure provisioning and ready reporting
The Azure datasource reports a provisioning failure when expected custom data
is missing. Enable the experimental `skip_ready_report` option to suppress
the Azure ready report.
### Mount paths
The `mounts` module escapes special characters in mount paths when writing
`/etc/fstab`, so paths containing spaces can be represented correctly.
### Amazon Linux repositories and certificates
Amazon Linux supports the `yum_add_repo` and `ca_certs` cloud-config modules
for configuring repositories and trusted CA certificates during provisioning.
### Rocky Linux certificates
The `ca_certs` cloud-config module can manage CA certificates on Rocky Linux.
### Oracle iSCSI roots
On Oracle images using dracut, cloud-init can detect an iSCSI root through
the iSCSI Boot Firmware Table (iBFT).
## Packaging, runtime, and services
### Existing LXD snap installations
On Ubuntu Plucky and newer, cloud-init uses `snap list lxd` to check for an
existing LXD snap and installs it only when the check reports it is absent.
### RHEL SSH key generation
Cloud-init preserves local changes to
`disable-sshd-keygen-if-cloud-init-active.conf` on RHEL.
### Alpine package mirror
Cloud-init uses the Alpine CDN as its default APK mirror.
### BSD builds
The Meson build supports BSD and OpenBSD.
See [Packaging, Runtime, and Service Integration](references/packaging-runtime-and-services.md)
for the version attributions of these changes.
## Platforms and reporting
### Platform detection and support
Cloud-init can detect LXD on s390x guests and detects the Tilaa cloud platform.
Cloud-init supports Azure Linux 4.0.
### Reporting finish events
Cloud-init reporting includes the elapsed duration on finish events.
### Boot analysis exit status
The `analyze_boot` handler for `cloud-init analyze boot` returns an integer
exit code.
See [Platforms and Reporting](references/platforms-and-reporting.md)
for platform-specific provisioning and reporting changes.