[pve-devel] RFC: qemu-server : add cloudinit support
Alexandre DERUMIER
aderumier at odiso.com
Thu Jun 11 08:11:45 CEST 2015
Also,
cloud-init feature is only usefull when creating a new vm,
so cloning a clean template with cloud-init support.
Maybe we could simply pass options to qm clone .... -nameserver -searchdoman -eth0 ipaddress gateway ....
start the vm after cloning, and cloud-init shutdown it when finished.
(We could also add some kind of import template like for container, they are a lot of cloud-init templates available on the net)
----- Mail original -----
De: "aderumier" <aderumier at odiso.com>
À: "dietmar" <dietmar at proxmox.com>
Cc: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Jeudi 11 Juin 2015 07:54:06
Objet: Re: [pve-devel] RFC: qemu-server : add cloudinit support
>>And is that reboot necessary? Its a bit clumsy, because the boot-loader
>>is presented 2 times to the user.
I forgot to say that I shutdown the vm (with cloudinit) at the end of the setup, not reboot.
That's why I setup in pending removal ide3.
----- Mail original -----
De: "aderumier" <aderumier at odiso.com>
À: "dietmar" <dietmar at proxmox.com>
Cc: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Jeudi 11 Juin 2015 07:17:33
Objet: Re: [pve-devel] RFC: qemu-server : add cloudinit support
>>And is that reboot necessary? Its a bit clumsy, because the boot-loader
>>is presented 2 times to the user.
No, but I just want to clean remove the cdrom config.
I setup it as ide3. (in case if use have already a cdrom is default ide2).
It could be possible to eject cd from guest in cloudinit config, but currently we can't catch qemu events.
----- Mail original -----
De: "dietmar" <dietmar at proxmox.com>
À: "aderumier" <aderumier at odiso.com>
Cc: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Jeudi 11 Juin 2015 07:13:53
Objet: Re: [pve-devel] RFC: qemu-server : add cloudinit support
> >>How long does such configuration cycle run (start/cloudinit/stop)?
>
> It's fast, maybe <15s after grub for basic network config.
> But for example if you want to upgrade packages at first boot or launch
> puppet/chef,
> it can take a lot more.
And is that reboot necessary? Its a bit clumsy, because the boot-loader
is presented 2 times to the user.
_______________________________________________
pve-devel mailing list
pve-devel at pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
_______________________________________________
pve-devel mailing list
pve-devel at pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
More information about the pve-devel
mailing list