[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 ?



Thanks all for your feedback. We will most probably leave cloud-init
running all time.
Emmanuel


On 06/16/2015 08:33 AM, gustavo panizzo (gfa) wrote:
> 
> 
> 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
> 
> 
> 


Reply to: