diff --git a/README.md b/README.md index 5b1521926b8f1b72bc5f6f3a832628d1a3bd0287..bd2f9256e2e390e559e1e9cdeffe77c186d01a9e 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,9 @@ After the resources provisionned with Terraform, Cloud-init will configure the i - Webtop After deployment, each resource can be accessed though HTTPS depending their count number : +- https://desktop-0.rust-0.daag.alpha.grandlyon.com/ +- https://code-0.rust-0.daag.alpha.grandlyon.com/ + - https://desktop-1.rust-1.daag.alpha.grandlyon.com/ - https://code-1.rust-1.daag.alpha.grandlyon.com/ diff --git a/instance-scripts/cloud-init.yml b/instance-scripts/cloud-init.yml index 1290fa2bec35d8206179223e70ff652ba0c69865..3bfb36f5d9986f24d0451e86a3c05f99d984a652 100644 --- a/instance-scripts/cloud-init.yml +++ b/instance-scripts/cloud-init.yml @@ -77,7 +77,7 @@ runcmd: - 'sed -i "s/%user_password%/$(scw-userdata user_password)/g" /root/config.yaml' - "mv /root/config.yaml /root/.config/code-server/config.yaml" - "curl -fsSL https://code-server.dev/install.sh | sh" - - "code-server" + - "sudo systemctl enable --now code-server@$USER" # # Run Webtop Container #