Terraform WIP
This commit is contained in:
parent
1ae5b0eb2f
commit
b8afb9fa5d
3 changed files with 3 additions and 2 deletions
1
scripts/2021/.gitignore
vendored
1
scripts/2021/.gitignore
vendored
|
@ -2,3 +2,4 @@
|
|||
*.swp
|
||||
.terraform/*
|
||||
*.lock.hcl
|
||||
terraform.*
|
||||
|
|
|
@ -18,6 +18,6 @@ resource "scaleway_instance_server" "torhs" {
|
|||
type = "DEV1-L"
|
||||
image = "ubuntu_focal"
|
||||
name = "torhs"
|
||||
cloud_init = file("${path.module}/torhs.yml")
|
||||
cloud_init = file("${path.module}/torhs.init")
|
||||
ip_id = scaleway_instance_ip.torhs_ip.id
|
||||
}
|
||||
|
|
|
@ -3,5 +3,5 @@ apt-get update -y -qq
|
|||
apt-get upgrade -y -qq
|
||||
apt-get install -y ca-certificates wget
|
||||
wget https://gitlab.inria.fr/qdufour/donar/-/raw/master/scripts/2021/install.sh?inline=false -O - | bash
|
||||
for i in $(seq 1 8); do echo start $i ; systemctl start torfone@$i ; sleep 10 ; done
|
||||
(for i in $(seq 1 8); do echo start $i ; systemctl start torfone@$i ; sleep 10 ; done) &
|
||||
echo "done"
|
Loading…
Reference in a new issue