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="",