Browse code

Merge "iptables rule for heat pip mirror"

Jenkins authored on 2015/04/04 01:18:14
Showing 1 changed files
... ...
@@ -335,6 +335,7 @@ function build_heat_pip_mirror {
335 335
     " -i $heat_pip_repo_apache_conf
336 336
     enable_apache_site heat_pip_repo
337 337
     restart_apache_server
338
+    sudo iptables -I INPUT -d $HOST_IP -p tcp --dport $HEAT_PIP_REPO_PORT -j ACCEPT || true
338 339
 }
339 340
 
340 341
 # Restore xtrace