Explorar o código

Merge pull request #2000 from trapier/support_script_wait_for_iptables_lock

wait for iptables lock in support script
Madhu Venugopal %!s(int64=7) %!d(string=hai) anos
pai
achega
b4856717b9
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      libnetwork/support.sh

+ 2 - 2
libnetwork/support.sh

@@ -22,8 +22,8 @@ type -P ${BRCTL} > /dev/null || die "This tool requires brctl"
 type -P ${IPTABLES} > /dev/null || die "This tool requires iptables"
 type -P ${IPTABLES} > /dev/null || die "This tool requires iptables"
 
 
 echo "iptables configuration"
 echo "iptables configuration"
-${IPTABLES} -n -v -L -t filter
-${IPTABLES} -n -v -L -t nat
+${IPTABLES} -w1 -n -v -L -t filter
+${IPTABLES} -w1 -n -v -L -t nat
 echo ""
 echo ""
 
 
 echo "Overlay network configuration"
 echo "Overlay network configuration"