Skip to content
Snippets Groups Projects
Commit 9155bb04 authored by Nathan Rodet's avatar Nathan Rodet
Browse files

TTYD

parent 4bd16407
No related branches found
No related tags found
3 merge requests!6End of development,!5Develop,!4End of development
Pipeline #50955 passed
...@@ -30,6 +30,7 @@ After the resources provisionned with Terraform, Cloud-init will configure the i ...@@ -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 : After deployment, each resource can be accessed though HTTPS depending on their count number :
- https://desktop-0.rust-0.daag.alpha.grandlyon.com/ - https://desktop-0.rust-0.daag.alpha.grandlyon.com/
- https://code-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/ - https://rust-0.daag.alpha.grandlyon.com/
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
# #
mkdir -p /root/ttyd 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 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 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 sed -i "s|%user_password%|$(scw-userdata user_password)|g" /etc/systemd/system/ttyd.service
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment