small fix
This commit is contained in:
parent
3940a3083b
commit
517b7e7a0e
@ -30,6 +30,7 @@ def get_ssh_key(client: Client) -> BoundSSHKey:
|
|||||||
name=SSH_KEY_NAME, public_key=ssh_key_pub)
|
name=SSH_KEY_NAME, public_key=ssh_key_pub)
|
||||||
print(
|
print(
|
||||||
f"Klucz SSH: {ssh_key.data_model.name}, {ssh_key.data_model.public_key}")
|
f"Klucz SSH: {ssh_key.data_model.name}, {ssh_key.data_model.public_key}")
|
||||||
|
return ssh_key
|
||||||
|
|
||||||
|
|
||||||
def get_vnet(client: Client) -> BoundNetwork:
|
def get_vnet(client: Client) -> BoundNetwork:
|
||||||
@ -45,6 +46,7 @@ def get_vnet(client: Client) -> BoundNetwork:
|
|||||||
)
|
)
|
||||||
print(
|
print(
|
||||||
f"Sieć wirtualna: {vnet.data_model.name} ({vnet.data_model.ip_range})")
|
f"Sieć wirtualna: {vnet.data_model.name} ({vnet.data_model.ip_range})")
|
||||||
|
return vnet
|
||||||
|
|
||||||
|
|
||||||
def create_db_server(client: Client, vnet: BoundNetwork, ssh_key: BoundSSHKey) -> BoundServer:
|
def create_db_server(client: Client, vnet: BoundNetwork, ssh_key: BoundSSHKey) -> BoundServer:
|
||||||
|
Loading…
Reference in New Issue
Block a user