diff --git a/cloud/misc/proxmox.py b/cloud/misc/proxmox.py index 1b908d99c15..9647db4bf8e 100644 --- a/cloud/misc/proxmox.py +++ b/cloud/misc/proxmox.py @@ -213,6 +213,9 @@ def create_instance(module, proxmox, vmid, node, disk, storage, cpus, memory, sw if VZ_TYPE =='lxc': kwargs['cpulimit']=cpus kwargs['rootfs']=disk + if 'netif' in kwargs: + kwargs.update(kwargs['netif']) + del kwargs['netif'] else: kwargs['cpus']=cpus kwargs['disk']=disk