Merge "iptables rule for heat pip mirror"

This commit is contained in:
Jenkins 2015-04-03 16:18:14 +00:00 committed by Gerrit Code Review
commit 6aabbbf47f

View File

@ -335,6 +335,7 @@ function build_heat_pip_mirror {
" -i $heat_pip_repo_apache_conf " -i $heat_pip_repo_apache_conf
enable_apache_site heat_pip_repo enable_apache_site heat_pip_repo
restart_apache_server restart_apache_server
sudo iptables -I INPUT -d $HOST_IP -p tcp --dport $HEAT_PIP_REPO_PORT -j ACCEPT || true
} }
# Restore xtrace # Restore xtrace