Use it when configuring, checking or troubleshooting Cloud-init in Proxmox VE.
Cloud-init · Proxmox VE
Proxmox generates desired initialization data, while the guest Cloud-init service decides how and when that data is consumed; both sides must be verified.
1. Proxmox generates a NoCloud cloud-init drive from VM options.
2. Custom snippets via --cicustom user=local:snippets/u.yaml.
3. Regenerate after changes.
4. Guest must have cloud-init installed.
5. Check cloud-init status in guest.
VM options → cloud-init drive → guest cloud-init
Context & applicabilityCommon mistakes · platform/version boundaries
Generated metadata shows desired initialization data exists, not that the guest consumed or successfully applied it.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
Proxmox cloud-init config → generated datasource → virtual device → guest Cloud-init stages → OS configuration → access/workload
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Cloud-init settings shown in Proxmox ≠ guest applied them.
- Regenerating metadata ≠ rerunning every Cloud-init stage.
- Static network metadata can conflict with image defaults.
- A cloned image must be prepared to consume instance-specific identity safely.
qm cloudinit dump <vmid> user— generated user-dataqm set <vmid> --ciuser admin --sshkeys key.pub --ipconfig0 ip=dhcp— set optionsqm cloudinit update <vmid>— regenerate drive
ReferenceWhat it is1 section · depth on demand
Using cloud-init on Proxmox
qm set 9000 --ide2 local-lvm:cloudinit --boot order=scsi0 --serial0 socket --vga serial0
qm set 9000 --ciuser admin --sshkeys ~/.ssh/id_ed25519.pub --ipconfig0 ip=dhcp
qm template 9000
qm clone 9000 121 --name web02 --full
qm cloudinit dump 121 user
Documented example, not captured output. Use official cloud images (not installer ISOs). Changes to cloud-init settings regenerate the drive; the guest applies most of them only on first boot unless configured otherwise.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
Generated metadata shows desired initialization data exists, not that the guest consumed or successfully applied it.
In depth
Proxmox cloud-init support generates a NoCloud drive from VM settings:
qm set 130 --ide2 local-zfs:cloudinit
qm set 130 --ciuser ops --sshkeys ~/.ssh/ops.pub --ipconfig0 ip=10.0.20.30/24,gw=10.0.20.1 --nameserver 10.0.0.53
qm set 130 --cicustom 'user=local:snippets/web.yaml'
qm cloudinit dump 130 user
qm cloudinit update 130 # regenerate drive after changes
Custom snippets require a storage with snippets content. Changing cloud-init settings after first boot only takes effect if the guest re-runs cloud-init (new instance-id).
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Proxmox VE → Cloud-init. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://pve.proxmox.com/pve-docs/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Proxmox VE → Cloud-init reference map
Fast operational boundaries and evidence limits for Proxmox VE → Cloud-init.
| Boundary | What to verify | Evidence limit |
|---|---|---|
| Configured state | Expected Cloud-init configuration is present | Configuration alone does not prove runtime behavior |
| Runtime state | Relevant Cloud-init service/object is active and error-free | Runtime state does not prove dependencies |
| Dependency | Backing network, storage, cluster or host dependency is healthy | Local success does not prove end-to-end outcome |
| Acceptance | Original VM/container/workload test succeeds | Required to close the incident |