Skip to content

Commit

Permalink
fix expose Password section on script.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
DininduSenanayake committed Jul 1, 2024
1 parent 1578fb7 commit 0ae84a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion template/script.sh.erb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ CODE_SERVER_DATAROOT="$HOME/.local/share/code-server"
mkdir -p "$CODE_SERVER_DATAROOT/extensions"

# Expose the password to the server.
#export PASSWORD="$password"
export PASSWORD="$password"

# Print compute node.
echo "$(date): Running on compute node ${host}:$port"
Expand Down Expand Up @@ -46,6 +46,7 @@ echo "$(date): Started code-server"
echo ""

# avoind using ${host} for --bind-addr

code-server \
--auth="password" \
--bind-addr="0.0.0.0:8443" \
Expand Down

0 comments on commit 0ae84a4

Please sign in to comment.