diff --git a/README.md b/README.md index 74de03d..7c38eb6 100644 --- a/README.md +++ b/README.md @@ -251,6 +251,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 ## Versions +* **10.12.21:** - Update deprecated connectionToken arg. * **30.11.21:** - Fix app folder permissions, add the optional sudo password vars. * **29.11.21:** - Create `.profile` and `.bashrc` for the user. * **29.11.21:** - Release `insiders` tag. diff --git a/readme-vars.yml b/readme-vars.yml index 3efafd5..bbf3d09 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -61,6 +61,7 @@ app_setup_block: | # changelog changelogs: + - { date: "10.12.21:", desc: "Update deprecated connectionToken arg." } - { date: "30.11.21:", desc: "Fix app folder permissions, add the optional sudo password vars." } - { date: "29.11.21:", desc: "Create `.profile` and `.bashrc` for the user." } - { date: "29.11.21:", desc: "Release `insiders` tag." } diff --git a/root/etc/services.d/openvscode-server/run b/root/etc/services.d/openvscode-server/run index 3c11220..0d4876d 100644 --- a/root/etc/services.d/openvscode-server/run +++ b/root/etc/services.d/openvscode-server/run @@ -4,7 +4,7 @@ if [ -n "$CONNECTION_SECRET" ]; then CODE_ARGS="${CODE_ARGS} --connection-secret ${CONNECTION_SECRET}" echo "Using connection secret from ${CONNECTION_SECRET}" elif [ -n "$CONNECTION_TOKEN" ]; then - CODE_ARGS="${CODE_ARGS} --connectionToken ${CONNECTION_TOKEN}" + CODE_ARGS="${CODE_ARGS} --connection-token ${CONNECTION_TOKEN}" echo "Using connection token ${CONNECTION_TOKEN}" else if [ ! -f "/config/.secretkey" ]; then