Browse Source

Merge pull request #2000 from trapier/support_script_wait_for_iptables_lock

wait for iptables lock in support script
Madhu Venugopal 7 năm trước cách đây
mục cha
commit
b4856717b9
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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"