a0a3b4
From 13264563a9471844102113b7062534466d20ce38 Mon Sep 17 00:00:00 2001
a0a3b4
From: Harald Hoyer <harald@redhat.com>
a0a3b4
Date: Thu, 30 Jun 2016 12:15:56 +0200
a0a3b4
Subject: [PATCH] network:wait_for_ipv6_auto() wait for all tentative addresses
a0a3b4
a0a3b4
---
a0a3b4
 modules.d/40network/net-lib.sh | 2 +-
a0a3b4
 1 file changed, 1 insertion(+), 1 deletion(-)
a0a3b4
a0a3b4
diff --git a/modules.d/40network/net-lib.sh b/modules.d/40network/net-lib.sh
1755ca
index 986c673c..71201938 100755
a0a3b4
--- a/modules.d/40network/net-lib.sh
a0a3b4
+++ b/modules.d/40network/net-lib.sh
a0a3b4
@@ -677,7 +677,7 @@ wait_for_ipv6_auto() {
a0a3b4
     timeout=$(($timeout*10))
a0a3b4
 
a0a3b4
     while [ $cnt -lt $timeout ]; do
a0a3b4
-        [ -z "$(ip -6 addr show dev "$1" scope global tentative)" ] \
a0a3b4
+        [ -z "$(ip -6 addr show dev "$1" tentative)" ] \
a0a3b4
             && [ -n "$(ip -6 route list proto ra dev "$1")" ] \
a0a3b4
             && return 0
a0a3b4
         sleep 0.1