Files
Helper-Scripts-ProxmoxVE/docs/misc/cloud-init.func/CLOUD_INIT_FUNC_USAGE_EXAMPLES.md
CanbiZ 1294b89fcb
Create Changelog Pull Request / update-changelog-pull-request (push) Has been cancelled
Close Discussion on PR Merge / close-discussion (push) Has been cancelled
Frontend CI/CD / test-json-files (push) Has been cancelled
Frontend CI/CD / build (push) Has been cancelled
Frontend CI/CD / deploy (push) Has been cancelled
Sync to Gitea / sync (push) Has been cancelled
add comprehensive documentation (#9537)
2025-12-01 13:50:11 +01:00

292 B

cloud-init.func Usage Examples

Examples for VM cloud-init configuration.

Example: Basic Cloud-Init

#!/usr/bin/env bash

generate_cloud_init > cloud-init.yaml
setup_ssh_keys "$VMID" "$SSH_KEY"
apply_cloud_init "$VMID" cloud-init.yaml

Last Updated: December 2025