Re: Should cloud-init be used only for initial setup of the VM, or left active during the VM lifetime ?
-----BEGIN PGP SIGNED MESSAGE-----
On 2015-06-11 20:58, Emmanuel Kasper wrote:
> Hi List I am building with the nice folks at Proxmox a
> virtualization platform, based on Debian, KVM and LXC, with a rest
> api and a web front end.
> We are considering adding cloud-init support in our API to add an
> out-of-VM way of doing the system. As I don't have preliminary
> experience with cloud-init, I am not sure what is the best way to
> use cloud-init. Is it meant to be always run on start, overwriting
> local settings in /etc/network/interface, or only once during the
> provisioning the machine ?
i would suggest you to keep cloud-init installed and enabled after
first boot. it is useful in case you take snapshot of the vm and boot
a different vm, cloud-init will discover that and reconfigure the vm
> It seems if I remove the config drive, the startup process hangs
> waiting, so it seems to me cloud-init is meant to be run at each
> boot, or am I missing something ?
> Thx Emmanuel
>  https://pve.proxmox.com/wiki/Main_Page
1AE0 322E B8F7 4717 BDEA BF1D 44BB 1BA7 9F6C 6333
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-----END PGP SIGNATURE-----