1
0
Fork 0
mirror of https://github.com/hcartiaux/dotfiles.git synced 2024-10-18 17:25:23 +02:00

[bash] Grid5000 specific part (specific environment variables)

This commit is contained in:
Hyacinthe Cartiaux 2013-12-12 09:56:28 +01:00
parent ee7e952a00
commit 912a509e3b

View file

@ -245,6 +245,17 @@ test -n "$INTERACTIVE" && test -n "$OAR_NODE_FILE" && (
sort $OAR_NODE_FILE | uniq -c | awk '{printf(" %s*%d\n",$2,$1)}END{printf("\n")}' | sed -e 's/,$//'
)
# ----------------------------------------------------------------------
# GRID5000 specific
# ----------------------------------------------------------------------
hostname | grep -e 'grid5000.fr$'
if [ $? -eq 0 ] ; then
export OAR_JOB_KEY_FILE=~/.ssh/id_rsa
export HTTP_PROXY=http://proxy:3128
export HTTPS_PROXY=$HTTP_PROXY
fi
# ----------------------------------------------------------------------
# BASH HISTORY
# ----------------------------------------------------------------------