github.com/NVIDIA/aistore@v1.3.23-0.20240517131212-7df6609be51d/deploy/dev/terraform/scripts/wait_for_instance.sh (about)

     1  #!/bin/bash
     2  
     3  while [ ! -f /var/lib/cloud/instance/boot-finished ]; do
     4    echo -e "Waiting for cloud-init..."
     5    sleep 1
     6  done