--- loader/linuxrc.s390 | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/loader/linuxrc.s390 b/loader/linuxrc.s390 index 9d04b9d..c862a84 100644 --- a/loader/linuxrc.s390 +++ b/loader/linuxrc.s390 @@ -2036,7 +2036,7 @@ function configure_ipv4_gateway() { # (virtual) CTC(/A) seems to need some time to get functional local i=1 while : ; do - ping -c 1 $GATEWAY >& /dev/null && break + ping -c 1 -w 5 $GATEWAY >& /dev/null && break i=$((i+1)) if [ "$i" -gt 3 ]; then echo $"Could not reach gateway $GATEWAY within timeout" @@ -2044,7 +2044,7 @@ function configure_ipv4_gateway() { fi done else - if ! ping -c 1 $GATEWAY >& /dev/null; then + if ! ping -c 1 -w 5 $GATEWAY >& /dev/null; then echo $"Could not reach your default gateway $GATEWAY" return 1 fi @@ -2283,7 +2283,7 @@ function handle_dns() { # reachable by ping, so it would make sense to use nslookup. # However, nslookup fails with "Resolver Error 0 (no error)" # at this stage of the setup progress => not useful - if ! ping -c 1 $dnsitem >& /dev/null; then + if ! ping -c 1 -w 5 $dnsitem >& /dev/null; then echo $"Could not ping DNS server: $dnsitem" # if nslookup $dnsitem $dnsitem >& /dev/null; then # echo $" but could resolve DNS server with itself: $dnsitem" -- 1.6.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list