-
-
Save fjaeckel/01b686913df4a597507b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# unzip /root/creds/novacreds.zip -d /root/creds/ | |
Archive: /root/creds/novacreds.zip | |
extracting: /root/creds/novarc | |
extracting: /root/creds/pk.pem | |
extracting: /root/creds/cert.pem | |
extracting: /root/creds/cacert.pem | |
root@ams-app063:~# cat /root/creds/novarc >> ~/.bashrc | |
root@ams-app063:~# source ~/.bashrc | |
root@ams-app063:~# cat /root/creds/novarc | |
NOVA_KEY_DIR=$(pushd $(dirname $BASH_SOURCE)>/dev/null; pwd; popd>/dev/null) | |
export EC2_ACCESS_KEY="2ecce498-3d3a-44e0-9320-43ff17a51bca:testproject" | |
export EC2_SECRET_KEY="67d0d847-956a-4acb-8046-7679aa8822b7" | |
export EC2_URL="http://http://10.26.0.12:8773/services/Cloud" | |
export S3_URL="http://http://10.26.0.12:3333" | |
export EC2_USER_ID=42 # nova does not use user id, but bundling requires it | |
export EC2_PRIVATE_KEY=${NOVA_KEY_DIR}/pk.pem | |
export EC2_CERT=${NOVA_KEY_DIR}/cert.pem | |
export NOVA_CERT=${NOVA_KEY_DIR}/cacert.pem | |
export EUCALYPTUS_CERT=${NOVA_CERT} # euca-bundle-image seems to require this set | |
alias ec2-bundle-image="ec2-bundle-image --cert ${EC2_CERT} --privatekey ${EC2_PRIVATE_KEY} --user 42 --ec2cert ${NOVA_CERT}" | |
alias ec2-upload-bundle="ec2-upload-bundle -a ${EC2_ACCESS_KEY} -s ${EC2_SECRET_KEY} --url ${S3_URL} --ec2cert ${NOVA_CERT}" | |
export NOVA_API_KEY="2ecce498-3d3a-44e0-9320-43ff17a51bca" | |
export NOVA_USERNAME="frederic" | |
export NOVA_URL="http://http://10.26.0.12:8774/v1.0/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment