This commit is contained in:
Quentin 2021-01-28 13:01:25 +01:00
parent 2c1272ad94
commit c16221e2e7

View file

@ -118,7 +118,7 @@ resource "scaleway_instance_server" "donaraltopt" {
wget https://gitlab.inria.fr/qdufour/donar/-/raw/master/scripts/2021/install.sh?inline=false -O - | bash 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 donaraltopt@$i ; sleep 60 ; done for i in $(seq 1 8); do echo start $i ; systemctl start donaraltopt@$i ; sleep 60 ; done
EOT EOT
ip_id = scaleway_instance_ip.donataltopt_ip.id ip_id = scaleway_instance_ip.donaraltopt_ip.id
} }
resource "scaleway_instance_ip" "donaraltna_ip" {} resource "scaleway_instance_ip" "donaraltna_ip" {}
resource "scaleway_instance_server" "donaraltna" { resource "scaleway_instance_server" "donaraltna" {
@ -159,7 +159,7 @@ resource "scaleway_instance_server" "donardupopt" {
wget https://gitlab.inria.fr/qdufour/donar/-/raw/master/scripts/2021/install.sh?inline=false -O - | bash 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 donardupopt@$i ; sleep 60 ; done for i in $(seq 1 8); do echo start $i ; systemctl start donardupopt@$i ; sleep 60 ; done
EOT EOT
ip_id = scaleway_instance_ip.donatdupopt_ip.id ip_id = scaleway_instance_ip.donardupopt_ip.id
} }
resource "scaleway_instance_ip" "donardupna_ip" {} resource "scaleway_instance_ip" "donardupna_ip" {}
resource "scaleway_instance_server" "donardupna" { resource "scaleway_instance_server" "donardupna" {