fix bug while testing server creation

This commit is contained in:
Solvik Blum 2019-08-07 15:36:47 +02:00
parent d7af66b325
commit b60860e0f5
No known key found for this signature in database
GPG key ID: CC12B3DC262B6C47

View file

@ -182,7 +182,7 @@ class ServerBase():
else:
server = nb.dcim.devices.get(serial=self.get_service_tag())
if not server:
self._netbox_create_server()
self._netbox_create_server(datacenter)
self.network.create_netbox_network_cards()
logging.debug('Server created!')