Skip to content

Instantly share code, notes, and snippets.

@malterb
Last active March 9, 2017 18:07
Show Gist options
  • Save malterb/ef6f383b9db973e90a0cd3d212612449 to your computer and use it in GitHub Desktop.
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
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