public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] cloudinit: question about cloudinit pending values && hostname/mac address changes
@ 2021-02-21 17:47 aderumier
  2021-02-23  8:27 ` Thomas Lamprecht
  0 siblings, 1 reply; 6+ messages in thread
From: aderumier @ 2021-02-21 17:47 UTC (permalink / raw)
  To: pve-devel

Hi,

I have some question about cloudinit hotplug pending values.

Currently, when vm is running, we keep cloudinit specific values
(ipconfigX, dns, ssh,...)  in pending until we regenerate image
manually.


But some other change, like vm name (use for hostname), or nic mac
address . (use to match interface in config nodrive format), are not
keeped as pending.


Why don't we simply auto regenerate the cloudinit config drive after
changes? (and don't use pending values like "pending  cdrom
generation").

Anyway, when vm is offline, we don't have pending state at all, and
config drive is generated only after at vmstart.

Also, currently, to regenerated the iso, we need 2 api call,  
1 to remove cdrom ,  1 to replug cdrom with new config.


I really would like to be able to change cloud-init config like lxc, 
simply update values, and get them auto apply.


What do you think about it ?






 




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-03-06  7:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-21 17:47 [pve-devel] cloudinit: question about cloudinit pending values && hostname/mac address changes aderumier
2021-02-23  8:27 ` Thomas Lamprecht
2021-02-23  9:06   ` Wolfgang Bumiller
2021-02-23  9:29     ` Thomas Lamprecht
2021-02-23 15:29       ` aderumier
2021-03-06  7:31       ` aderumier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal