From: Yuri Konotopov <ykonotopov@gnome.org>
To: pve-devel@lists.proxmox.com
Cc: Yuri Konotopov <ykonotopov@gnome.org>
Subject: [PATCH qemu-server/pve-manager 0/3] add ci instance-id mode
Date: Sat, 25 Apr 2026 16:31:22 +0400 [thread overview]
Message-ID: <20260425123125.797431-1-ykonotopov@gnome.org> (raw)
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
next reply other threads:[~2026-04-25 12:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-25 12:31 Yuri Konotopov [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260425123125.797431-1-ykonotopov@gnome.org \
--to=ykonotopov@gnome.org \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.