{"id":13584230,"url":"https://github.com/chris2k20/proxmox-cloud-init","last_synced_at":"2025-06-15T10:33:51.071Z","repository":{"id":40502912,"uuid":"362240827","full_name":"chris2k20/proxmox-cloud-init","owner":"chris2k20","description":"Proxmox KVM: Custom Cloud-Init File (User-Data: configure your Ubuntu before it starts)","archived":false,"fork":false,"pushed_at":"2022-10-31T15:52:08.000Z","size":6,"stargazers_count":89,"open_issues_count":1,"forks_count":17,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-23T19:14:27.319Z","etag":null,"topics":["cloud","cloud-init","custom-cloud","proxmox"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chris2k20.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-27T20:22:23.000Z","updated_at":"2025-01-24T11:20:38.000Z","dependencies_parsed_at":"2023-01-19T21:45:17.340Z","dependency_job_id":null,"html_url":"https://github.com/chris2k20/proxmox-cloud-init","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chris2k20/proxmox-cloud-init","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chris2k20%2Fproxmox-cloud-init","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chris2k20%2Fproxmox-cloud-init/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chris2k20%2Fproxmox-cloud-init/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chris2k20%2Fproxmox-cloud-init/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chris2k20","download_url":"https://codeload.github.com/chris2k20/proxmox-cloud-init/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chris2k20%2Fproxmox-cloud-init/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259960465,"owners_count":22938068,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud","cloud-init","custom-cloud","proxmox"],"created_at":"2024-08-01T15:04:06.373Z","updated_at":"2025-06-15T10:33:51.047Z","avatar_url":"https://github.com/chris2k20.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"# Proxmox: Use Custom Cloud-Init File (User-Data)\n\nHow to use a custom Cloud-Init YAML-File with Proxmox: \n\n*Assumption: In your proxmox environment is a VM with ID 9001 and cloud-init installed (run [Ubuntu Cloud Image Template on Proxmox](https://gist.github.com/chris2k20/dba14515071bd5a14e48cf8b61f7d2e2) \u0026 create VM from template \u0026 come back:)*\n\n1. Create a folder in the default proxmox path on the host: `mkdir /var/lib/vz/cloud-init/ ; cd /var/lib/vz/cloud-init/`\n2. Download the example [cloud-init.yml](./cloud-init.yml) file and save it to 9001-cloud-init.yml: `wget https://raw.githubusercontent.com/chris2k20/proxmox-cloud-init/main/cloud-init.yml -O 9001-cloud-init.yml`\n3. Customize it: `nano 9001-cloud-init.yml` (See [official cloud-init Documentation](https://cloudinit.readthedocs.io/en/latest/topics/examples.html))\n4. Update the VM settings to use your default cloud-init: `qm set 9001 --cicustom \"user=local:cloud-init/9001-cloud-init.yml\"`\n5. Start VM: `qm start 9001`\n\nI used Ubuntu 20.04 Cloud Image to test it out (see my little gist on: [How to install a Ubuntu Cloud Image Template on Proxmox](https://gist.github.com/chris2k20/dba14515071bd5a14e48cf8b61f7d2e2)). \n\nFeel free to comment or send a pull request. Thank you :hugs:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchris2k20%2Fproxmox-cloud-init","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchris2k20%2Fproxmox-cloud-init","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchris2k20%2Fproxmox-cloud-init/lists"}