forked from saratov/infra
format and storage is not a valid parameters for clone in PVE 5.2
This commit is contained in:
parent
abbd377dce
commit
3ed0611b4d
@ -674,7 +674,7 @@ def create_vm(module, proxmox, vmid, newid, node, name, memory, cpu, cores, sock
|
|||||||
only_v4 = ['force', 'protection', 'skiplock']
|
only_v4 = ['force', 'protection', 'skiplock']
|
||||||
|
|
||||||
# valide clone parameters
|
# valide clone parameters
|
||||||
valid_clone_params = ['format', 'full', 'pool', 'snapname', 'storage', 'target']
|
valid_clone_params = ['full', 'pool', 'snapname', 'target']
|
||||||
clone_params = {}
|
clone_params = {}
|
||||||
# Default args for vm. Note: -args option is for experts only. It allows you to pass arbitrary arguments to kvm.
|
# Default args for vm. Note: -args option is for experts only. It allows you to pass arbitrary arguments to kvm.
|
||||||
vm_args = "-serial unix:/var/run/qemu-server/{}.serial,server,nowait".format(vmid)
|
vm_args = "-serial unix:/var/run/qemu-server/{}.serial,server,nowait".format(vmid)
|
||||||
|
Loading…
Reference in New Issue
Block a user