[Swift-commit] r7732 - SwiftApps/cloud

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Wed Mar 19 12:42:03 CDT 2014


Author: ketan
Date: 2014-03-19 12:42:03 -0500 (Wed, 19 Mar 2014)
New Revision: 7732

Modified:
   SwiftApps/cloud/addnodes
Log:
addnodes per the new api

Modified: SwiftApps/cloud/addnodes
===================================================================
--- SwiftApps/cloud/addnodes	2014-03-19 17:24:03 UTC (rev 7731)
+++ SwiftApps/cloud/addnodes	2014-03-19 17:42:03 UTC (rev 7732)
@@ -65,7 +65,7 @@
 
     echo "Waiting for $1 instance(s) to start"
     sleep 60
-    for i in $(echo $runinst | grep -o '\bi-........\b'); do
+    for i in $(echo $runinst | grep 'INSTANCE' | grep -o '\bi-........\b'); do
         #ip=$(ec2din $i | grep 'running' | awk '{print $15}')
         ip=$(ec2din --show-empty-fields $i | grep running | awk '{print $17}')
         start_worker_ssh $ip 




More information about the Swift-commit mailing list