Commit b64e52b1 authored by David Wilson's avatar David Wilson

issue #150: tweak script for running without external IPs

parent 86076807
......@@ -18,9 +18,10 @@ def main():
for inst in resp['items']:
if inst['status'] == 'RUNNING' and inst['name'].startswith(group_name):
ips.extend(
bytes(config['natIP'])
#bytes(config['natIP'])
bytes(interface['networkIP'])
for interface in inst['networkInterfaces']
for config in interface['accessConfigs']
#for config in interface['accessConfigs']
)
print 'Addresses:', ips
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment