From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 42C471FF143 for ; Sat, 25 Apr 2026 14:40:01 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id F206550F; Sat, 25 Apr 2026 14:39:53 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.gnome.org 3850210844A3E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gnome.org; s=default; t=1777120345; bh=DylcwuVNJOWeKC3IV6lQoowN4F9VXZE6Qb990Qe8B0Y=; h=From:To:Cc:Subject:Date:From; b=ZstrvVpg3/X7m/OTQ+dg7ARu2F1/qOZQyksAkHDo5uhEGRTCg9O4Wg299T3QWJr88 tqBl7ec6hOs6UQ+6F3ajMCwnnKOL2Pgf9BXKx4sG/sHnUB+0ky0Othd26ScE5jEgAO jo/gcsNchByqEuBZhssMVziqNhl3O/ieROWRcsV8= From: Yuri Konotopov To: pve-devel@lists.proxmox.com Subject: [PATCH qemu-server/pve-manager 0/3] add ci instance-id mode Date: Sat, 25 Apr 2026 16:31:22 +0400 Message-ID: <20260425123125.797431-1-ykonotopov@gnome.org> X-Mailer: git-send-email 2.53.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain DMARC_PASS -0.1 DMARC pass policy RCVD_IN_DNSWL_LOW -0.7 Sender listed at https://www.dnswl.org/, low trust SPF_HELO_PASS -0.001 SPF: HELO matches SPF record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: VKP5SZEJFNNVNOYC4NSLYAQ4EYX66ATQ X-Message-ID-Hash: VKP5SZEJFNNVNOYC4NSLYAQ4EYX66ATQ X-MailFrom: ykonotopov@gnome.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Yuri Konotopov X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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