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

Changes to cloud-init config

parent a15b3277
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
Pipeline #49049 passed
......@@ -17,9 +17,10 @@ runcmd:
- "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y"
- "source \"$HOME/.cargo/env\""
# Install Docker
- "curl -fsSL https://get.docker.com -o get-docker.sh | sh"
- "curl -fsSL https://get.docker.com -o get-docker.sh"
- "sh get-docker.sh"
# Install atrium
- "git clone https://github.com/nicolaspernoud/atrium.git"
- "git clone https://github.com/nicolaspernoud/atrium.git ./root/atrium"
# Run Webtop Container
- "docker stop webtop"
- "docker rm webtop"
......
......@@ -83,7 +83,7 @@ resource "scaleway_instance_server" "user_instance_server" {
security_group_id = scaleway_instance_security_group.www.id
user_data = {
USER_PASSWORD = var.USER_PASSWORD
user_password = "export USER_PASSWORD=${var.USER_PASSWORD}"
cloud-init = file("cloud-init.yml")
}
......
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