Skip to content

Instantly share code, notes, and snippets.

@garnaat
Created October 13, 2011 12:20
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save garnaat/1284103 to your computer and use it in GitHub Desktop.
Save garnaat/1284103 to your computer and use it in GitHub Desktop.
Example of eucarc file
EUCA_KEY_DIR=$(dirname $(readlink -f ${BASH_SOURCE}))
export S3_URL=http://173.205.188.130:8773/services/Walrus
export EC2_URL=http://173.205.188.130:8773/services/Eucalyptus
export EC2_PRIVATE_KEY=${EUCA_KEY_DIR}/euca2-garnaat-e5ec560d-pk.pem
export EC2_CERT=${EUCA_KEY_DIR}/euca2-garnaat-e5ec560d-cert.pem
export EC2_JVM_ARGS=-Djavax.net.ssl.trustStore=${EUCA_KEY_DIR}/jssecacerts
export EUCALYPTUS_CERT=${EUCA_KEY_DIR}/cloud-cert.pem
export EC2_ACCESS_KEY='999999999999999999999999999999999999'
export EC2_SECRET_KEY='00000000000000000000000000000000000000'
# This is a bogus value; Eucalyptus does not need this but client tools do.
export EC2_USER_ID='339620379587492791068739117448306688378'
alias ec2-bundle-image="ec2-bundle-image --cert ${EC2_CERT} --privatekey ${EC2_PR
IVATE_KEY} --user 339620379587492791068739117448306688378 --ec2cert ${EUCALYPTUS_
CERT}"
alias ec2-upload-bundle="ec2-upload-bundle -a ${EC2_ACCESS_KEY} -s ${EC2_SECRET_K
EY} --url ${S3_URL} --ec2cert ${EUCALYPTUS_CERT}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment