From e5e554f907caf5f03f227b6fa6c131145137069b Mon Sep 17 00:00:00 2001 From: Nathan Rodet <nrodet@grandlyon.com> Date: Fri, 23 Dec 2022 15:50:07 +0100 Subject: [PATCH] simplified name --- README.md | 6 +++--- instance-scripts/cloud-init.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a1b8a05..b923c92 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,8 @@ 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-1.rust1.daag.alpha.grandlyon.com/ -- https://code-1.rust1.daag.alpha.grandlyon.com/ +- https://desktop-1.rust-1.daag.alpha.grandlyon.com/ +- https://code-1.rust-1.daag.alpha.grandlyon.com/ User : - Username: abc @@ -42,7 +42,7 @@ Infrastructure is ready, the cloud-init script will run at boot 3 services and l ## Setup Terraform Locally First, you must setup 2 local files for your variables : -C2sB13r12p1546dfsdf8cv151 + ### variables-local.tf Create a file **variables-local.tf** containing the following code : diff --git a/instance-scripts/cloud-init.yml b/instance-scripts/cloud-init.yml index c19e7b8..acbfdff 100644 --- a/instance-scripts/cloud-init.yml +++ b/instance-scripts/cloud-init.yml @@ -83,4 +83,4 @@ runcmd: # Run Webtop Container # - "docker run -d --name=webtop --security-opt seccomp=unconfined -e PUID=0 -e PGID=0 -e TZ=Europe/Paris -e SUBFOLDER=/ -e KEYBOARD=fr-fr-azerty -e AUTO_LOGIN=false -p 8081:3000 -v /root/webtop_data/:/config -v /var/run/docker.sock:/var/run/docker.sock --shm-size=8gb --cap-add=NET_ADMIN --privileged --restart unless-stopped --sysctl net.ipv6.conf.all.disable_ipv6=0 lscr.io/linuxserver/webtop:ubuntu-xfce" - - 'echo -e "$(scw-userdata user_password)\n$(scw-userdata user_password)" | docker exec -i webtop passwd abc' \ No newline at end of file + - 'echo "$(scw-userdata user_password)\n$(scw-userdata user_password)" | docker exec -i webtop passwd abc' \ No newline at end of file -- GitLab