From c8049fb6bdcd9c12891eec5c48ab513431b29150 Mon Sep 17 00:00:00 2001 From: host Date: Fri, 24 Jul 2026 01:08:15 +0300 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=BC=D0=B5=D0=BD=D1=91=D0=BD=20?= =?UTF-8?q?=D1=88=D0=B0=D0=B1=D0=BB=D0=BE=D0=BD=20=D0=BA=D0=BB=D0=BE=D0=BD?= =?UTF-8?q?=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F=20VM=20#999=20?= =?UTF-8?q?(ubuntu-2404-ci)=20=E2=86=92=20VM=20#1000=20(cloud-init)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proxmox_tools.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/proxmox_tools.py b/proxmox_tools.py index 3437866..d32357b 100644 --- a/proxmox_tools.py +++ b/proxmox_tools.py @@ -537,7 +537,7 @@ class Tools: def vm_create_from_template( vmid, name, - template_vmid=999, + template_vmid=1000, full=True, memory=None, cores=None, @@ -552,7 +552,7 @@ class Tools: ): """ Create a new VM by cloning from a template. - Default template: VM #999 (ubuntu-2404-ci). + Default template: VM #1000 (cloud-init). Cloud-init params (for guest OS user setup): ciuser: username in the guest (e.g. "ubuntu") @@ -663,7 +663,7 @@ class Tools: def vm_create( vmid, name, - template_vmid=999, + template_vmid=1000, memory=4096, cores=2, disk_size="32G", @@ -685,7 +685,7 @@ class Tools: Universal VM creation. Modes: - 1. From template (default): clones VM #999 (ubuntu-2404-ci) + 1. From template (default): clones VM #1000 (cloud-init) 2. From ISO: template_vmid=None, iso="local:iso/image.iso" Cloud-init params (for mode 1):