allow simultaneous virtual machine and device primary ip initialization
This commit is contained in:
parent
5399f8c890
commit
584566b0f0
|
@ -42,3 +42,6 @@ elif devices is not None:
|
||||||
link_primary_ip(devices, Device)
|
link_primary_ip(devices, Device)
|
||||||
elif virtual_machines is not None:
|
elif virtual_machines is not None:
|
||||||
link_primary_ip(virtual_machines, VirtualMachine)
|
link_primary_ip(virtual_machines, VirtualMachine)
|
||||||
|
else:
|
||||||
|
link_primary_ip(devices, Device)
|
||||||
|
link_primary_ip(virtual_machines, VirtualMachine)
|
||||||
|
|
Loading…
Reference in New Issue