Commit 4c34446d authored by Peter Parente's avatar Peter Parente

Fix jovyan hardcode in start-notebook.sh

Contribution (c) Copyright IBM Corp. 2015
parent d425a3a5
#!/bin/bash
# Change UID of jovyan to NB_UID if it does not match
if [ "$NB_UID" != $(id -u jovyan) ] ; then
# Change UID of NB_USER to NB_UID if it does not match
if [ "$NB_UID" != $(id -u $NB_USER) ] ; then
usermod -u $NB_UID $NB_USER
chown -R $NB_UID $CONDA_DIR
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment