allow simultaneous virtual machine and device primary ip initialization

This commit is contained in:
Schylar Utley 2021-01-15 23:44:10 -06:00
parent 5399f8c890
commit 584566b0f0
1 changed files with 3 additions and 0 deletions

View File

@ -42,3 +42,6 @@ elif devices is not None:
link_primary_ip(devices, Device)
elif virtual_machines is not None:
link_primary_ip(virtual_machines, VirtualMachine)
else:
link_primary_ip(devices, Device)
link_primary_ip(virtual_machines, VirtualMachine)