diff options
Diffstat (limited to 'src/booking/quick_deployer.py')
-rw-r--r-- | src/booking/quick_deployer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/booking/quick_deployer.py b/src/booking/quick_deployer.py index 0e0cc5a..4ec488e 100644 --- a/src/booking/quick_deployer.py +++ b/src/booking/quick_deployer.py @@ -245,7 +245,7 @@ def configure_networking(grb, config): # create network net = Network.objects.create(name="public", bundle=grb, is_public=True) # connect network to generic host - grb.getHosts()[0].generic_interfaces.first().connections.add( + grb.getResources()[0].generic_interfaces.first().connections.add( NetworkConnection.objects.create(network=net, vlan_is_tagged=False) ) # asign network role |