Prechádzať zdrojové kódy

Merge pull request #2000 from trapier/support_script_wait_for_iptables_lock

wait for iptables lock in support script
Madhu Venugopal 7 rokov pred
rodič
commit
b4856717b9
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  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"
 
 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 "Overlay network configuration"