Last active
March 9, 2017 18:07
-
-
Save malterb/ef6f383b9db973e90a0cd3d212612449 to your computer and use it in GitHub Desktop.
Install script for Java 8 + JCE + node.js as an azure extension. Mounts the volume provided for afs-utils
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
export DEBIAN_FRONTEND=noninteractive | |
exec > >(tee -i /var/log/javanode.log) | |
exec 2>&1 | |
echo "starting mount installation" | |
chmod -R og+r /var/log/ | |
curl -sL https://pubtrip.blob.core.windows.net/trippublic/afs-utils-0.1.sh -o afs-utils-0.1.sh | |
bash afs-utils-0.1.sh $@ | |
echo "mounted /mnt/storage" | |
bash /mnt/storage/install/agent.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment