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:
parent
3cfc03156c
commit
11cf7b64a7
1
lib/heat
1
lib/heat
@ -337,6 +337,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
|
||||||
|
Loading…
Reference in New Issue
Block a user