Add VMs to the database even with HUB_MODE=mock #6
@ -49,7 +49,7 @@ class MockHub(VirtualizationInterface):
|
|||||||
id=id,
|
id=id,
|
||||||
size=size,
|
size=size,
|
||||||
os=os,
|
os=os,
|
||||||
host=host_id,
|
host=current_app.config["SPOKE_HOST_ID"],
|
||||||
network_name=self.default_network,
|
network_name=self.default_network,
|
||||||
public_ipv4=self.default_ipv4,
|
public_ipv4=self.default_ipv4,
|
||||||
ssh_authorized_keys=list(map(lambda x: x["name"], ssh_authorized_keys)),
|
ssh_authorized_keys=list(map(lambda x: x["name"], ssh_authorized_keys)),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user