From c69352e5bc91fe7e7f20df6cb311731de579ba2f Mon Sep 17 00:00:00 2001 From: vkumra-broad Date: Tue, 5 Feb 2019 10:02:31 -0500 Subject: [PATCH] Issue 751 : Install gcsfuse on clusters by default (#765) * install gcsfuse --- src/main/resources/jupyter/init-actions.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/main/resources/jupyter/init-actions.sh b/src/main/resources/jupyter/init-actions.sh index e5d0f846f69..9339f6d1fc3 100644 --- a/src/main/resources/jupyter/init-actions.sh +++ b/src/main/resources/jupyter/init-actions.sh @@ -334,4 +334,15 @@ make install ldconfig python3 --version -log "Finished installing Python $PYTHON_VERSION" \ No newline at end of file +log "Finished installing Python $PYTHON_VERSION" + +log "Starting GCSFuse installation" + +export GCSFUSE_REPO=gcsfuse-`lsb_release -c -s` +echo "deb http://packages.cloud.google.com/apt $GCSFUSE_REPO main" | sudo tee /etc/apt/sources.list.d/gcsfuse.list +curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - + +retry 5 betterAptGet +retry 5 apt-get install -y -q gcsfuse +log "GCSFuse Installed" +