From e99c9c8759834d8a3e911554c807fa22c1550ebd Mon Sep 17 00:00:00 2001 From: host Date: Fri, 24 Jul 2026 01:23:22 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D1=88=D0=B0=D0=B1=D0=BB=D0=BE=D0=BD=20=D0=BA?= =?UTF-8?q?=D0=BB=D0=BE=D0=BD=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F:=20VM=20#999=20(cloud-init)=20=D0=B4=D0=BB=D1=8F=20pve1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proxmox_tools_pve1.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/proxmox_tools_pve1.py b/proxmox_tools_pve1.py index 27e9857..4d58c13 100644 --- a/proxmox_tools_pve1.py +++ b/proxmox_tools_pve1.py @@ -429,10 +429,10 @@ def pve1_vm_action(vmid, action, node=DEFAULT_NODE): return "ERR " + str(e) -def pve1_vm_create_from_template(vmid, name, template_vmid=1000, full=True, memory=None, +def pve1_vm_create_from_template(vmid, name, template_vmid=999, full=True, memory=None, cores=None, storage=None, target_node=None, pool=None, start_now=True, ciuser="", cipassword="", sshkeys="", node=DEFAULT_NODE): - """Create a new VM by cloning from template. Default: VM #1000 (cloud-init).""" + """Create a new VM by cloning from template. Default: VM #999 (cloud-init).""" try: if not vmid: return "Error: vmid required" @@ -502,7 +502,7 @@ def pve1_vm_create_from_template(vmid, name, template_vmid=1000, full=True, memo return "ERR " + str(e) -def pve1_vm_create(vmid, name, template_vmid=1000, memory=4096, cores=2, +def pve1_vm_create(vmid, name, template_vmid=999, memory=4096, cores=2, disk_size="32G", disk_storage="local-lvm", iso="", bridge=DEFAULT_BRIDGE, ip="dhcp", netmask=24, gw="", ostype="l26", agent=1, ciuser="", cipassword="", sshkeys="",