Howdy, folks.
Can I get an affirm on this? Proxmox does not support cloud-init for LXC containers, correct? I'm looking at the API docs and they seem to suggest as much as the endpoints and parameters available on the QEMU VM API are not reflected on the container endpoints.
Also, I did some digging into hook scripts as possible alternative. The docs are a bit thin on this feature but it looks to me like hook scripts execute on the Proxmox server for various lifecycle events for both containers and VMs however they **do not** execute in the container or VM. They execute in VE itself. So this is not an escape hatch for lack of cloud-init in containers.
If I have all of this correct, how they do people do deploy-time adjustments to their containers? Most of the time, I would think, there are going to be deploy-time things that need to be adjusted which cannot be pre-baked into custom container images.
Very interested to hear what people have to share.
Can I get an affirm on this? Proxmox does not support cloud-init for LXC containers, correct? I'm looking at the API docs and they seem to suggest as much as the endpoints and parameters available on the QEMU VM API are not reflected on the container endpoints.
Also, I did some digging into hook scripts as possible alternative. The docs are a bit thin on this feature but it looks to me like hook scripts execute on the Proxmox server for various lifecycle events for both containers and VMs however they **do not** execute in the container or VM. They execute in VE itself. So this is not an escape hatch for lack of cloud-init in containers.
If I have all of this correct, how they do people do deploy-time adjustments to their containers? Most of the time, I would think, there are going to be deploy-time things that need to be adjusted which cannot be pre-baked into custom container images.
Very interested to hear what people have to share.