| Line 43... |
Line 43... |
| 43 |
|
43 |
|
| 44 |
# SSH options used when connecting to EC2 instances.
|
44 |
# SSH options used when connecting to EC2 instances.
|
| 45 |
SSH_OPTS=`echo -i "$PRIVATE_KEY_PATH" -o StrictHostKeyChecking=no -o ServerAliveInterval=30`
|
45 |
SSH_OPTS=`echo -i "$PRIVATE_KEY_PATH" -o StrictHostKeyChecking=no -o ServerAliveInterval=30`
|
| 46 |
|
46 |
|
| 47 |
# The version of Elastic Grid to use.
|
47 |
# The version of Elastic Grid to use.
|
| 48 |
EG_VERSION=0.9.1
|
- |
|
| - |
|
48 |
EG_VERSION=0.9.2
|
| 49 |
|
49 |
|
| 50 |
# The Amazon S3 bucket where the Elastic Grid AMI is stored.
|
50 |
# The Amazon S3 bucket where the Elastic Grid AMI is stored.
|
| 51 |
# The default value is for public images, so can be left if you are using running a public image.
|
51 |
# The default value is for public images, so can be left if you are using running a public image.
|
| 52 |
# Change this value only if you are creating your own (private) AMI
|
52 |
# Change this value only if you are creating your own (private) AMI
|
| 53 |
# so you can store it in a bucket you own.
|
53 |
# so you can store it in a bucket you own.
|
| Line 61... |
Line 61... |
| 61 |
#
|
61 |
#
|
| 62 |
# The following variables are only used when creating an AMI.
|
62 |
# The following variables are only used when creating an AMI.
|
| 63 |
#
|
63 |
#
|
| 64 |
|
64 |
|
| 65 |
# The version number of the installed JDK.
|
65 |
# The version number of the installed JDK.
|
| 66 |
JAVA_VERSION=1.6.0_14
|
- |
|
| - |
|
66 |
JAVA_VERSION=1.6.0_15
|
| 67 |
|
67 |
|
| 68 |
# SUPPORTED_ARCHITECTURES = ['i386', 'x86_64']
|
68 |
# SUPPORTED_ARCHITECTURES = ['i386', 'x86_64']
|
| 69 |
# The download URL for the Sun JDK. Visit http://java.sun.com/javase/downloads/index.jsp and get the URL for the "Linux self-extracting file".
|
69 |
# The download URL for the Sun JDK. Visit http://java.sun.com/javase/downloads/index.jsp and get the URL for the "Linux self-extracting file".
|
| 70 |
if [ "$INSTANCE_TYPE" == "m1.small" -o "$INSTANCE_TYPE" == "c1.medium" ]; then
|
70 |
if [ "$INSTANCE_TYPE" == "m1.small" -o "$INSTANCE_TYPE" == "c1.medium" ]; then
|
| 71 |
ARCH='i386'
|
71 |
ARCH='i386'
|