From 38a476c4465363bb1f7d8ac0c23e165238622d78 Mon Sep 17 00:00:00 2001 From: Michael Polenchuk Date: Wed, 19 Sep 2018 15:10:40 +0400 Subject: Clean up RETURN rule from FORWARD chain Remove obsolete/breaking RETURN rule from preparation stage of Yardstick and Dovetail test suites. Change-Id: I817780da95f10bc12c491e56806455d1aee25ece Signed-off-by: Michael Polenchuk --- jjb/dovetail/dovetail-run.sh | 5 ----- 1 file changed, 5 deletions(-) (limited to 'jjb/dovetail') diff --git a/jjb/dovetail/dovetail-run.sh b/jjb/dovetail/dovetail-run.sh index 739da9eac..ed636b849 100755 --- a/jjb/dovetail/dovetail-run.sh +++ b/jjb/dovetail/dovetail-run.sh @@ -51,11 +51,6 @@ elif [[ ${INSTALLER_TYPE} == 'joid' ]]; then # replace the default one by the customized one provided by jenkins config fi -# 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 - releng_repo=${WORKSPACE}/releng [ -d ${releng_repo} ] && sudo rm -rf ${releng_repo} git clone https://gerrit.opnfv.org/gerrit/releng ${releng_repo} >/dev/null -- cgit 1.2.3-korg