adding localhost to condole config and adding versioning
This commit is contained in:
parent
a5c09bebd7
commit
2a20f7e930
|
@ -88,7 +88,7 @@ check_root_permissions () {
|
||||||
}
|
}
|
||||||
|
|
||||||
## Main
|
## Main
|
||||||
echo 'Starting PandoraFMS Community deployment $S_VERSION'
|
echo "Starting PandoraFMS Community deployment ver. $S_VERSION"
|
||||||
|
|
||||||
# Centos Version
|
# Centos Version
|
||||||
if [ ! "$(grep -i centos /etc/redhat-release)" ]; then
|
if [ ! "$(grep -i centos /etc/redhat-release)" ]; then
|
||||||
|
@ -103,7 +103,8 @@ echo -en "${cyan}Check Centos Version...${reset}"
|
||||||
check_cmd_status 'Error OS version, Centos 7 is expected'
|
check_cmd_status 'Error OS version, Centos 7 is expected'
|
||||||
|
|
||||||
# initialice logfile
|
# initialice logfile
|
||||||
execute_cmd "echo 'Starting community deployment #S_VERSION' > $LOGFILE" "All installer activity is logged on $LOGFILE"
|
execute_cmd "echo 'Starting community deployment' > $LOGFILE" "All installer activity is logged on $LOGFILE"
|
||||||
|
echo "Community installer version: $S_VERSION" >> $LOGFILE
|
||||||
|
|
||||||
# Pre checks
|
# Pre checks
|
||||||
# Root permisions
|
# Root permisions
|
||||||
|
|
Loading…
Reference in New Issue