Compare commits
1 commit
33e594a45d
...
b8a69f949e
Author | SHA1 | Date | |
---|---|---|---|
b8a69f949e |
2 changed files with 1 additions and 10 deletions
|
@ -1,3 +1,3 @@
|
||||||
tabulate==0.9.0
|
tabulate==0.9.0
|
||||||
hcloud==2.5.4
|
hcloud==2.5.2
|
||||||
rich==14.0.0
|
rich==14.0.0
|
||||||
|
|
|
@ -214,16 +214,7 @@ if args.action == "create":
|
||||||
enable_ipv4=True,
|
enable_ipv4=True,
|
||||||
enable_ipv6=True,
|
enable_ipv6=True,
|
||||||
),
|
),
|
||||||
start_after_create=False,
|
|
||||||
)
|
)
|
||||||
track_progress(response.action.id, response.action.command)
|
track_progress(response.action.id, response.action.command)
|
||||||
for a in response.next_actions:
|
for a in response.next_actions:
|
||||||
track_progress(a.id, a.command)
|
track_progress(a.id, a.command)
|
||||||
# save server to var
|
|
||||||
server = response.server
|
|
||||||
# attach volume
|
|
||||||
response = client.volumes.attach(volume=volume, server=server)
|
|
||||||
track_progress(response.id, response.command)
|
|
||||||
# start server
|
|
||||||
response = client.servers.power_on(server)
|
|
||||||
track_progress(response.id, response.command)
|
|
Loading…
Add table
Add a link
Reference in a new issue