Updated CentOS images

This commit is contained in:
Alexey Pustovalov
2020-04-26 21:36:05 +03:00
parent 04c4ae6606
commit cd0773fba3
17 changed files with 48 additions and 22 deletions

View File

@ -57,6 +57,10 @@ file_env() {
unset "$fileVar"
}
prepare_system() {
echo "** Preparing the system"
}
escape_spec_char() {
local var_value=$1
@ -178,7 +182,7 @@ check_db_connect() {
}
prepare_web_server() {
APACHE_SITES_DIR=/etc/apache2/conf.d
APACHE_SITES_DIR=/etc/httpd/conf.d
echo "** Adding Zabbix virtual host (HTTP)"
if [ -f "$ZABBIX_ETC_DIR/apache.conf" ]; then
@ -199,6 +203,10 @@ prepare_web_server() {
fi
}
clear_deploy() {
echo "** Cleaning the system"
}
prepare_zbx_web_config() {
local server_name=""