update collect_public_ips.py

pull/37/head
Minh Doan 6 years ago
parent fb90007cd1
commit 5080856bb0
  1. 2
      aws-experiment-launch/collect_public_ips.py

@ -18,5 +18,5 @@ if __name__ == "__main__":
ip_list = utils.collect_public_ips(args.region_number, args.node_name_tag, args.region_config) ip_list = utils.collect_public_ips(args.region_number, args.node_name_tag, args.region_config)
with open(args.file_output, "w") as fout: with open(args.file_output, "w") as fout:
for ip in ip_list: for ip in ip_list:
fout.write(ip + "\n") fout.write(ip + " " + args.node_name_tag + "\n")
print "Done writing %s" % args.file_output print "Done writing %s" % args.file_output

Loading…
Cancel
Save