From: Trevor Bramwell Date: Tue, 12 Jun 2018 22:24:13 +0000 (+0000) Subject: Merge "Remove obsolete iptable rules" X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=9705226e4b6f530508697a2206a758a522b5e97b;hp=7d6d7362966db61f94db6f1035a258468cf6efdc;p=releng.git Merge "Remove obsolete iptable rules" --- diff --git a/jjb/functest/functest-alpine.sh b/jjb/functest/functest-alpine.sh index 392f192cc..24a28c69f 100755 --- a/jjb/functest/functest-alpine.sh +++ b/jjb/functest/functest-alpine.sh @@ -109,11 +109,6 @@ fi rc_file_vol="-v ${rc_file}:${FUNCTEST_DIR}/conf/env_file" -# Set iptables rule to allow forwarding return traffic for container -if ! sudo iptables -C FORWARD -j RETURN 2> ${redirect} || ! sudo iptables -L FORWARD | awk 'NR==3' | grep RETURN 2> ${redirect}; then - sudo iptables -I FORWARD -j RETURN -fi - echo "Functest: Start Docker and prepare environment" echo "Functest: Download images that will be used by test cases"