No cloud-init support for LXC containers?

steevestroke

Member
May 29, 2022
37
23
13
My work automating Proxmox with the bpg/promox Terraform provider is going well. I had been provisioning LXC containers and it looks like they/Proxmox does not support boot-time config of them via cloud-init, correct? In fact, I can't find anything in the provider for configuring them at all (ex: execute a script).

If that is the case I suppose I will have to pivot to VMs for almost all of my workloads. Which is a bit disappointing in terms of anticipated resource consumption.

Perhaps I'm over-looking the relevant documentation? Perhaps cloud-init for containers in the Proxmox roadmap?
 
Last edited:
My work automating Proxmox with the bpg/promox Terraform provider is going well. I had been provisioning LXC containers and it looks like they/Proxmox does not support boot-time config of them via cloud-init, correct? In fact, I can't find anything in the provider for configuring them at all (ex: execute a script).

If that is the case I suppose I will have to pivot to VMs for almost all of my workloads. Which is a bit disappointing in terms of anticipated resource consumption.

Perhaps I'm over-looking the relevant documentation? Perhaps cloud-init for containers in the Proxmox roadmap?
Hey,
I know this isn't native to Proxmox
and I know it does not fit in with your terraform usage
and I haven't tried it myself yet
but...I thought it MAY be of interest

https://forum.proxmox.com/threads/p...y-lxc-and-qemu-guests-with-cloud-init.152183/