diff --git a/README.md b/README.md index 860591dedad06ed708f74562c10a7adc08b5215e..33a9ac0b7d55ddda82c74cff17495f35a4ac828c 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ After the resources provisionned with Terraform, Cloud-init will configure the i After deployment, each resource can be accessed though HTTPS depending on their count number : - https://desktop-0.rust-0.daag.alpha.grandlyon.com/ - https://code-0.rust-0.daag.alpha.grandlyon.com/ +- https://terminal-0.rust-0.daag.alpha.grandlyon.com/ - https://rust-0.daag.alpha.grandlyon.com/ diff --git a/instance-scripts/scripts/ttyd.sh b/instance-scripts/scripts/ttyd.sh index e7016e68f53bfb995df15f5ff58b34bb2b1dc119..eeb2c71c13137e14515fced7790b2caba3a97fe3 100644 --- a/instance-scripts/scripts/ttyd.sh +++ b/instance-scripts/scripts/ttyd.sh @@ -5,7 +5,7 @@ # mkdir -p /root/ttyd -curl https://github.com/tsl0922/ttyd/releases/download/1.7.3/ttyd.x86_64 -o root/ttyd/ttyd.x86_64 +curl -k -L -s https://github.com/tsl0922/ttyd/releases/download/1.7.3/ttyd.x86_64 -o root/ttyd/ttyd.x86_64 chmod +x /root/ttyd/ttyd.x86_64 curl https://forge.grandlyon.com/systemes-dinformation/alpha/projects/labo-rust/-/raw/develop/instance-scripts/config-files/ttyd.service -o etc/systemd/system/ttyd.service sed -i "s|%user_password%|$(scw-userdata user_password)|g" /etc/systemd/system/ttyd.service