Zaktualizuj 'create.py'
This commit is contained in:
parent
ae57cbf8f1
commit
48890442e3
@ -141,7 +141,7 @@ git_server = client.servers.create(
|
||||
)
|
||||
|
||||
git_server.action.wait_until_finished()
|
||||
print(f"Tworzenie serwera gitea: {gitea_server.action.complete}")
|
||||
print(f"Tworzenie serwera gitea: {git_server.action.complete}")
|
||||
|
||||
gitea_server = client.servers.get_by_name(f"{PREFIX}-gitea")
|
||||
print(f"Serwer: {gitea_server.data_model.name}\n\tpubliczne IP: {gitea_server.data_model.public_net.ipv4.ip}\n\tprywatne IP: {gitea_server.data_model.private_net[0].ip}")
|
||||
git_server = client.servers.get_by_name(f"{PREFIX}-gitea")
|
||||
print(f"Serwer: {git_server.data_model.name}\n\tpubliczne IP: {git_server.data_model.public_net.ipv4.ip}\n\tprywatne IP: {git_server.data_model.private_net[0].ip}")
|
||||
|
Loading…
Reference in New Issue
Block a user