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

Changes to cloud-init config

parent fca0f2a5
No related branches found
No related tags found
6 merge requests!6End of development,!5Develop,!4End of development,!3Develop,!2hot-fix: change readme.md,!1Develop
...@@ -19,9 +19,6 @@ before_script: ...@@ -19,9 +19,6 @@ before_script:
- export TF_VAR_ENVIRONMENT=${ENVIRONMENT} - export TF_VAR_ENVIRONMENT=${ENVIRONMENT}
- export TF_VAR_SCW_SSH_PUB_KEY=$(cat tf.rsa.pub) - export TF_VAR_SCW_SSH_PUB_KEY=$(cat tf.rsa.pub)
- export TF_VAR_SCW_SSH_PRIVATE_KEY=$(cat tf.rsa) - export TF_VAR_SCW_SSH_PRIVATE_KEY=$(cat tf.rsa)
- echo ${TF_VAR_SCW_SSH_PUB_KEY}
- echo ${TF_VAR_SCW_SSH_PRIVATE_KEY}
- echo $(ssh-keygen -E md5 -lf ./tf.rsa.pub)
stages: stages:
- prepare - prepare
......
...@@ -22,7 +22,7 @@ runcmd: ...@@ -22,7 +22,7 @@ runcmd:
# Install Code Server # Install Code Server
- "curl -fsSL https://code-server.dev/install.sh | sh" - "curl -fsSL https://code-server.dev/install.sh | sh"
- "mkdir -p /root/.config/code-server/" - "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" - "echo 'bind-addr: 0.0.0.0:8080\nauth: password\npassword: $(echo scw-userdata user_password)\ncert: false\n' > /root/.config/code-server/config.yaml"
# Run Code Server # Run Code Server
# - "systemctl enable --now code-server@$USER" # - "systemctl enable --now code-server@$USER"
# Run Webtop Container # Run Webtop Container
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment