Skip to content

Commit c69352e

Browse files
authored
Issue 751 : Install gcsfuse on clusters by default (#765)
* install gcsfuse
1 parent 6a6516b commit c69352e

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/main/resources/jupyter/init-actions.sh

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,4 +334,15 @@ make install
334334
ldconfig
335335
python3 --version
336336

337-
log "Finished installing Python $PYTHON_VERSION"
337+
log "Finished installing Python $PYTHON_VERSION"
338+
339+
log "Starting GCSFuse installation"
340+
341+
export GCSFUSE_REPO=gcsfuse-`lsb_release -c -s`
342+
echo "deb http://packages.cloud.google.com/apt $GCSFUSE_REPO main" | sudo tee /etc/apt/sources.list.d/gcsfuse.list
343+
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
344+
345+
retry 5 betterAptGet
346+
retry 5 apt-get install -y -q gcsfuse
347+
log "GCSFuse Installed"
348+

0 commit comments

Comments
 (0)