piston/container/steps/000-wait-for-network.sh
Thomas Hobson 219364af97
packer-based lxc container building
Fills the simple installation void
2021-01-28 02:27:31 +13:00

6 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