#!/bin/sh
source /etc/profile
figlet -f small ' AWSible'
-echo "This is a ${CLOUD_MODULE} system in the ${CLOUD_ACCOUNT} environment."
+echo "This is a ${CLOUD_CLUSTER} system in the ${CLOUD_ENVIRONMENT} environment."
echo
--- /dev/null
+# configure environment for MSCA AWS things
+
+# as of pip2.7, all pip installed binaries are here
+# pathmunge /usr/local/bin
+
+## Add user-data to environment. Because we use asgard this should be safe...
+## came from http://stackoverflow.com/questions/10520605/bashs-source-command-not-working-with-a-file-curld-from-internet
+## NOTE, if you create your own init script you must copy the below to /etc/default/myScriptName
+source /dev/stdin <<< "$(curl -s --fail http://169.254.169.254/latest/user-data)"
+
+# set 'screen' title
+echo -n -e "\033k$INSTANCE_ID-$CLOUD_CLUSTER\033\\"