Skip to content
Snippets Groups Projects
Verified Commit 3aa09091 authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

hotfix master CI

parent bb06649a
No related branches found
No related tags found
No related merge requests found
......@@ -47,8 +47,8 @@ create-vps:
# the same machine.
python3 << EOF
import greenhost_cloud
machine = greenhost_cloud.get_droplets_by_name(\"^${HOSTNAME}$\")[0]
if machine['status'] == 'running' and
machine = greenhost_cloud.get_droplets_by_name("^${HOSTNAME}$")[0]
if machine['status'] == 'running' and \
machine['networks']['v4'][0]['ip_address'] == '${IP_ADDRESS}':
exit(0)
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment