Verified Commit c1ea33b9 authored by Dmytro Bogatov's avatar Dmytro Bogatov 💕

Fix.

parent 3fc914da
......@@ -41,9 +41,9 @@ terraform destroy -force
terraform init
terraform apply -auto-approve
echo "Waiting 30 secs..."
echo "Waiting 60 secs..."
sleep 30
sleep 60
# Add SWAP to master
......@@ -51,8 +51,8 @@ echo "Adding SWAP file to the nodes"
cd "$CWD"
IPS=("$(dig +short A dolores-workers.digital-ocean.dbogatov.org)")
IPS+=("$(dig +short A dolores.digital-ocean.dbogatov.org)")
IPS=("$(dig @ns1.digitalocean.com +short A dolores-workers.digital-ocean.dbogatov.org)")
IPS+=("$(dig @ns1.digitalocean.com +short A dolores.digital-ocean.dbogatov.org)")
cat >var-vm-swapfile1.swap <<EOL
[Unit]
......@@ -92,7 +92,7 @@ rm var-vm-swapfile1.swap
echo "Waiting 30 secs..."
sleep 30
# sleep 30
cd "$CWD"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment