From 11cf7b64a78d225d7ba84b86597a934d0417ad3c Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Fri, 27 Mar 2015 09:08:53 +1300 Subject: [PATCH] iptables rule for heat pip mirror This is required for guest VMs to reach http://$HOST_IP:8899 Change-Id: I814c682fb02974ae05dfbe5e212409cdd11d16ac --- lib/heat | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/heat b/lib/heat index c7abd3bb1c..a27691fab2 100644 --- a/lib/heat +++ b/lib/heat @@ -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