Add VMs to the database even with HUB_MODE=mock #6

Merged
3wordchant merged 3 commits from mock-hub-create into master 2021-07-21 21:26:11 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 6dbe2b5c86 - Show all commits

View File

@ -49,7 +49,7 @@ class MockHub(VirtualizationInterface):
id=id,
size=size,
os=os,
host=host_id,
host=current_app.config["SPOKE_HOST_ID"],
network_name=self.default_network,
public_ipv4=self.default_ipv4,
ssh_authorized_keys=list(map(lambda x: x["name"], ssh_authorized_keys)),