Browse code

iptables rule for heat pip mirror

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

Change-Id: I814c682fb02974ae05dfbe5e212409cdd11d16ac

Steve Baker authored on 2015/03/27 05:08:53
Showing 1 changed files
... ...
@@ -337,6 +337,7 @@ function build_heat_pip_mirror {
337 337
     " -i $heat_pip_repo_apache_conf
338 338
     enable_apache_site heat_pip_repo
339 339
     restart_apache_server
340
+    sudo iptables -I INPUT -d $HOST_IP -p tcp --dport $HEAT_PIP_REPO_PORT -j ACCEPT || true
340 341
 }
341 342
 
342 343
 # Restore xtrace