Skip to content
Snippets Groups Projects
Commit f9c50bea authored by František Dvořák's avatar František Dvořák
Browse files

Wait only on FIP in staging - no public adresses on the machines

parent 9594881b
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ echo "Terraform finished. Continue? (CTRL-C to quit)"
read -r _
# wait for ping and ssh
for ip in $(cat terraform/hosts.txt); do
for ip in $(cat terraform/fip.txt); do
while ! ping -c 1 "$ip"; do sleep 5; done
ssh-keygen -R "$ip"
while ! ssh egi@"$ip" -o ConnectTimeout=10 -o PreferredAuthentications=publickey -o StrictHostKeyChecking=no :; do sleep 10; done
......
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