From 9fa083ed754d95974a0284267c4d2b3be4d7ee25 Mon Sep 17 00:00:00 2001 From: Lance Speelmon Date: Mon, 8 Apr 2013 14:25:46 -0700 Subject: [PATCH] Implemented suggestion from ColinHebert --- modules/ec2-api-tools/init.zsh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/ec2-api-tools/init.zsh b/modules/ec2-api-tools/init.zsh index 378b6f06..22230965 100644 --- a/modules/ec2-api-tools/init.zsh +++ b/modules/ec2-api-tools/init.zsh @@ -24,7 +24,6 @@ fi # Download two ".pem" files, one starting with `pk-`, and one starting with `cert-`. # You need to put both into a folder in your home directory, `~/.ec2`. -export JAVA_HOME="$(/usr/libexec/java_home)" export EC2_PRIVATE_KEY="$(/bin/ls "$HOME"/.ec2/pk-*.pem | /usr/bin/head -1)" export EC2_CERT="$(/bin/ls "$HOME"/.ec2/cert-*.pem | /usr/bin/head -1)" export EC2_HOME="/usr/local/Library/LinkedKegs/ec2-api-tools/jars" @@ -33,4 +32,4 @@ export EC2_HOME="/usr/local/Library/LinkedKegs/ec2-api-tools/jars" # Aliases # -alias ii='curl -q http://169.254.169.254/latest/meta-data/instance-id' +alias ec2ii='curl -q http://169.254.169.254/latest/meta-data/instance-id'