From e094869de8d73dc01b44443a3b3c93a6ec81140e Mon Sep 17 00:00:00 2001 From: Rafael Ameijeiras Date: Wed, 6 Oct 2021 09:50:27 +0200 Subject: [PATCH] adding rhel8.4 support to cloud agent deploy --- extras/deploy-scripts/pandora_agent_deploy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extras/deploy-scripts/pandora_agent_deploy.sh b/extras/deploy-scripts/pandora_agent_deploy.sh index 9292998ccf..fbd349e8b9 100644 --- a/extras/deploy-scripts/pandora_agent_deploy.sh +++ b/extras/deploy-scripts/pandora_agent_deploy.sh @@ -4,7 +4,7 @@ # define variables PANDORA_AGENT_CONF=/etc/pandora/pandora_agent.conf -S_VERSION='2021012801' +S_VERSION='2021100601' LOGFILE="/tmp/pandora-agent-deploy-$(date +%F).log" # Ansi color code variables @@ -83,6 +83,7 @@ execute_cmd "[ $PANDORA_SERVER_IP ]" 'Check Server IP Address' 'Please define e OS=$([[ $(grep '^ID_LIKE=' /etc/os-release) ]] && grep ^ID_LIKE= /etc/os-release | cut -d '=' -f2 | tr -d '"' || grep ^ID= /etc/os-release | cut -d '=' -f2 | tr -d '"') [[ $OS == 'rhel fedora' ]] && OS_RELEASE=$OS +[[ $OS == 'fedora' ]] && OS_RELEASE=$OS [[ $OS == 'centos rhel fedora' ]] && OS_RELEASE=$OS [[ $OS == 'debian' ]] && OS_RELEASE=$OS