diff --git a/terraform/cloud-init.yml b/terraform/cloud-init.yml index 8edbb6c2715fbc877e83602de4f88cbde882bc1b..1dcad960a6a5e3cafd541d0a7b0d18f98d5d15e5 100644 --- a/terraform/cloud-init.yml +++ b/terraform/cloud-init.yml @@ -20,9 +20,9 @@ runcmd: # Install atrium - "git clone https://github.com/nicolaspernoud/atrium.git ./root/atrium" # Install Code Server -# - "curl -fsSL https://code-server.dev/install.sh | sh" -# - "mkdir -p /root/.config/code-server/" -# - "echo 'bind-addr: 0.0.0.0:8080\nauth: password\npassword: $(scw-userdata user_password)\ncert: false\n' > /root/.config/code-server/config.yaml" + - "curl -fsSL https://code-server.dev/install.sh | sh" + - "mkdir -p /root/.config/code-server/" + - "echo 'bind-addr: 0.0.0.0:8080\nauth: password\npassword: $(scw-userdata user_password)\ncert: false\n' > /root/.config/code-server/config.yaml" # Run Code Server # - "systemctl enable --now code-server@$USER" # Run Webtop Container