Merge "iptables rule for heat pip mirror"
This commit is contained in:
commit
6aabbbf47f
1
lib/heat
1
lib/heat
@ -335,6 +335,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