[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Should cloud-init be used only for initial setup of the VM, or left active during the VM lifetime ?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256



On 2015-06-11 20:58, Emmanuel Kasper wrote:
> Hi List I am building with the nice folks at Proxmox[1] 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
> 
> [1] https://pve.proxmox.com/wiki/Main_Page
> 

- -- 
1AE0 322E B8F7 4717 BDEA BF1D 44BB 1BA7 9F6C 6333

keybase: http://keybase.io/gfa
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJVf8MfAAoJEOQAK5EGOmWDvvgP/jyznbTox84C1bRHpEdAir4b
RnIGuGvDV8oEk6GeeO40ixwkqdQV7drCkDjbRSH22g+3LC89SzT+BFPtkCTC4CmQ
qhy2zUdm6OgyCh1FsC4b8aPgpFm8dRLXgJ3IfGEuqHamixjlHefNyqY8/1C90Yar
joLxALIVU652Z4KMRxlY7V4dMY4l90uDq0M3/mBpJzWe7/ak+24XEGiDZnYEmP7A
XQV780mxVVbEPAMNpRIAQroY56M052KqAJcOMaNecj/ML7TRendSMfKQfa034wQi
26XFlmTIEXEtAcoaGYJU/scRzK8yDiMTYneO4xs4LJnVIRxJN0RLD5pY5Ybyi4+6
FTnTUo0kY6a19oYVjdBskql7qRaWXZdPXhuJ5e6J3odk0GeQede1SaNbYCB5lkL3
0gM6rLExq0zcckoGZ1U2KimW01xkc+9fXtV2EUVfibSEL6aX6Mq9KZbeTcCTwcqe
xuuiox0CxyjApqcdvPscKgL+miMD8Smf1zN4xdA3XyJD85sULo4KfpmOWWvsOhCC
zRjakLpOhbwQeISX1YU/O+YAExsCpcr/oteDJ3bNc8swcv3Ab+tqjQXbqdLYEJtg
VbO3pSUJkyzGiSHj2lGa2aZzf7//hqM0QBAkJEdKqoLF33QLBPmUf22qhEVesgz8
pYCLMzQUAoFlU6+l1N1m
=51xz
-----END PGP SIGNATURE-----


Reply to: