Merge pull request #16646 from aalexand/dns-poll

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot 2015-11-16 03:57:24 -08:00
commit 1bcf03f3fb

View File

@ -32,11 +32,11 @@ function ensure-basic-networking() {
echo 'Waiting for functional DNS (trying to resolve metadata.google.internal)...'
sleep 3
done
until getent hosts $(hostname -f) &>/dev/null; do
until getent hosts $(hostname -f || echo _error_) &>/dev/null; do
echo 'Waiting for functional DNS (trying to resolve my own FQDN)...'
sleep 3
done
until getent hosts $(hostname -i) &>/dev/null; do
until getent hosts $(hostname -i || echo _error_) &>/dev/null; do
echo 'Waiting for functional DNS (trying to resolve my own IP)...'
sleep 3
done