[Swift-commit] r7727 - SwiftApps/cloud

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Wed Mar 19 10:54:57 CDT 2014


Author: ketan
Date: 2014-03-19 10:54:57 -0500 (Wed, 19 Mar 2014)
New Revision: 7727

Modified:
   SwiftApps/cloud/addnodes
Log:
typo and instance type change

Modified: SwiftApps/cloud/addnodes
===================================================================
--- SwiftApps/cloud/addnodes	2014-03-19 15:43:45 UTC (rev 7726)
+++ SwiftApps/cloud/addnodes	2014-03-19 15:54:57 UTC (rev 7727)
@@ -56,11 +56,11 @@
     
     if [ -z "$SPOT_PRICE" ] ; then
         #ec2-run-instances -k <key-name> -n 1 -g <groupname> --instance-type <type> <ami-id>
-        echo "spot ptice not set: $SPOT_PRICE"
-        runinst=$(ec2-run-instances -k "$EC2KEYPAIR" -g "$EC2SECGRP" -n "$1" --instance-type t1.micro "$EC2AMI")
+        echo "spot price not set: $SPOT_PRICE"
+        runinst=$(ec2-run-instances -k "$EC2KEYPAIR" -g "$EC2SECGRP" -n "$1" --instance-type m1.small "$EC2AMI")
     else
         echo "spot price set to: $SPOT_PRICE"
-        runinst=$(ec2rsi -k "$EC2KEYPAIR" -g "$EC2SECGRP" -n "$1" -p "$SPOT_PRICE" --instance-type t1.micro "$EC2AMI")
+        runinst=$(ec2rsi -k "$EC2KEYPAIR" -g "$EC2SECGRP" -n "$1" -p "$SPOT_PRICE" --instance-type m1.small "$EC2AMI")
     fi
 
     echo "Waiting for $1 instance(s) to start"




More information about the Swift-commit mailing list