Merge branch 'ent-6970-deploy-script' into 'develop'

adding versioning

See merge request artica/pandorafms!3804
This commit is contained in:
Rafael Ameijeiras 2021-01-28 16:30:52 +01:00
commit 33b182075a
1 changed files with 3 additions and 2 deletions

View File

@ -88,7 +88,7 @@ check_root_permissions () {
}
## Main
echo 'Starting PandoraFMS Community deployment $S_VERSION'
echo "Starting PandoraFMS Community deployment ver. $S_VERSION"
# Centos Version
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'
# 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
# Root permisions