xentaur
diff files/ec2-instances @ 67:6c145935ece5
Fixed path scripts and configuration templates moved to a single file.
author | Igor Chubin <igor@chub.in> |
---|---|
date | Mon Jan 11 13:01:35 2010 +0200 (2010-01-11) |
parents | aaf034af3a35 |
children | f652fab38c7a |
line diff
1.1 --- a/files/ec2-instances Sat Jan 09 20:20:08 2010 +0200 1.2 +++ b/files/ec2-instances Mon Jan 11 13:01:35 2010 +0200 1.3 @@ -1,23 +1,10 @@ 1.4 #!/bin/sh 1.5 1.6 -DOMAIN=ec2.xgu.ru 1.7 -NETWORK=net1 1.8 -INSTANCES_NUMBER=2 1.9 -INSTANCE_AMI=ami-b21ff8db 1.10 -INSTANCE_AMI=ami-7cfd1a15 1.11 -SSH_SECRET_KEY=~/.ec2/id_rsa-pstam-keypair 1.12 -SSH_KEYPAIR=pstam-keypair 1.13 -VOLUME_NAME=vol-28d13141 1.14 -EC2_ZONE=us-east-1a 1.15 -DOMAIN=ec2.xgu.ru 1.16 -SCRIPTS_PATH=~/hg/xentaur/files 1.17 - 1.18 -XGURULLA_DIR=~/.xgurulla/ 1.19 -WORK_DIR=${XGURULLA_DIR}/${NETWORK} 1.20 -mkdir -p ${WORK_DIR} 1.21 - 1.22 -set -e -x 1.23 +# should be run from ~/.xentaur/$NETWORK/ 1.24 +# and variable NETWORK set 1.25 +set -e 1.26 source ./start-instances-$NETWORK 1.27 +# variables is here 1.28 # start_emulators is here 1.29 1.30 message()