all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH qemu-server/pve-manager 0/3] add ci instance-id mode
@ 2026-04-25 12:31 Yuri Konotopov
  2026-04-25 12:31 ` [PATCH qemu-server 1/2] cloud-init: factor out generated file preparation Yuri Konotopov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Yuri Konotopov @ 2026-04-25 12:31 UTC (permalink / raw)
  To: pve-devel; +Cc: Yuri Konotopov

This series adds an explicit cloud-init instance-id mode for qemu vms.

Legacy mode (the default one) keeps the current generated id behavior.
Persistent mode stores the effective instance-id and reuses it until the
user changes or resets it. The ui exposes the mode and instance-id
editor while keeping the cloud-init overview limited to the selected
mode.

I hope to see persistent mode become the default in future pve releases.

The first qemu-server patch factors out the preparation of generated
cloud-init files so the new code can reuse it without duplicating the
logic. The second qemu-server patch adds the backend property and api.
The pve-manager patch adds the editor.

Relevant bug: https://bugzilla.proxmox.com/show_bug.cgi?id=1739

Yuri Konotopov (3):
  cloud-init: factor out generated file preparation
  fix #1739: cloud-init: add persistent instance-id mode
  fix #1739: ui: qemu: expose cloud-init instance-id mode

 qemu-server/src/PVE/API2/Qemu.pm                  |  38 +++++++
 qemu-server/src/PVE/QemuServer.pm                 |  54 ++++++++++
 qemu-server/src/PVE/QemuServer/Cloudinit.pm       | 119 +++++++++++++++------
 pve-manager/www/manager6/Makefile                 |   1 +
 pve-manager/www/manager6/qemu/CIInstanceIdEdit.js | 120 ++++++++++++++++++++++
 pve-manager/www/manager6/qemu/CloudInit.js        |  17 +++
 6 files changed, 323 insertions(+), 26 deletions(-)

-- 
2.47.3



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

end of thread, other threads:[~2026-04-25 12:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-25 12:31 [PATCH qemu-server/pve-manager 0/3] add ci instance-id mode Yuri Konotopov
2026-04-25 12:31 ` [PATCH qemu-server 1/2] cloud-init: factor out generated file preparation Yuri Konotopov
2026-04-25 12:31 ` [PATCH qemu-server 2/2] fix #1739: cloud-init: add persistent instance-id mode Yuri Konotopov
2026-04-25 12:31 ` [PATCH pve-manager] fix #1739: ui: qemu: expose cloud-init " Yuri Konotopov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal