piston/container/steps/000-wait-for-network.sh

7 lines
122 B
Bash

#!/usr/bin/env bash
while ! ping -c 1 -W 1 1.1.1.1; do
echo "Waiting for 1.1.1.1 - network is down"
sleep 1
done