I have cloud-init 22.4 installed with LXD 5.0.2-r3 on a gentoo machine.
My problem is, when I start a gentoo instance, and then login to the instance with:
lxc exec test -- bash
When I run cloud-init status, I git
bash: cloud-init: command not found
However, I have profiles and network settings that I can see that have been executed on the instance which tells me that cloud-init was run when configuring the instance. But then, there are also some areas of the cloud-init settings that are not happening, like my user account is not being setup.
I'm a bit confused as how cloud-init is started. I thought cloud-init would get started when the instance starts and I should be able to command it within the instance.
Anyone have ideas?
My problem is, when I start a gentoo instance, and then login to the instance with:
lxc exec test -- bash
When I run cloud-init status, I git
bash: cloud-init: command not found
However, I have profiles and network settings that I can see that have been executed on the instance which tells me that cloud-init was run when configuring the instance. But then, there are also some areas of the cloud-init settings that are not happening, like my user account is not being setup.
I'm a bit confused as how cloud-init is started. I thought cloud-init would get started when the instance starts and I should be able to command it within the instance.
Anyone have ideas?