iptables rule for heat pip mirror

This is required for guest VMs to reach http://$HOST_IP:8899

Change-Id: I814c682fb02974ae05dfbe5e212409cdd11d16ac
This commit is contained in:
Steve Baker 2015-03-27 09:08:53 +13:00
parent 3cfc03156c
commit 11cf7b64a7

View File

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