[pve-devel] RFC: qemu-server : add cloudinit support

Dietmar Maurer dietmar at proxmox.com
Thu Jun 11 18:00:49 CEST 2015


> >>OTOH it may be desirable to keep the config datasource attached. That 
> >>way the WEB UI's configuration is the "permanent" one, and changes made 
> >>in the running VM to /etc/ (eg. /etc/network/interfaces) are only 
> >>temporary. 
> >>
> >>Otherwise the options in the UI would have to be deleted/greyed out with 
> >>it to reflect the new situation, while if the config is kept around 
> >>there'd be some permanently-available settings in the UI. 
> 
> I think that Cloud-init should be only use to setup the vm create|provisioning
> as I said in a previous mail, I think we should simply pass parameters
> to qm clone .... -ipddress -gateway -nameserver ...
> This is what ovirt|rhev are doing currently.
> http://www.ovirt.org/Features/Cloud-Init_Integration

I am not sure why you want to add such restriction? IMHO, this would make
the whole think quite useless. For example, if we have IPs on host side, we can
also 
have better firewall rules by default...

> If we would like to manage ips in gui, we could generate a new configdrive,
> but we can't tell to guest to reforce relaunch of cloud-init.
> (or maybe with a udev rules trick ?)

This configuration is simple cold-plug. It is a perfect fit, because we
have that 'pending' API now ;-) So you simply need to stop/start to apply
new values?




More information about the pve-devel mailing list