From 49102cbfe144e470f208f01c559c9088976b05af Mon Sep 17 00:00:00 2001 From: Rafael Ameijeiras Date: Fri, 6 May 2022 09:46:50 +0200 Subject: [PATCH] 8941-modifcar-check-de-subscripcion-del-script-de-instalacion-deploy-pandora-el8 --- extras/deploy-scripts/pandora_deploy_community_el8.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/extras/deploy-scripts/pandora_deploy_community_el8.sh b/extras/deploy-scripts/pandora_deploy_community_el8.sh index 5205c2214b..cdfcd951ca 100644 --- a/extras/deploy-scripts/pandora_deploy_community_el8.sh +++ b/extras/deploy-scripts/pandora_deploy_community_el8.sh @@ -166,9 +166,8 @@ if [ "$(grep -Ei 'Red Hat Enterprise' /etc/redhat-release)" ]; then ## In case REDHAT # Check susbscription manager status: echo -en "${cyan}Checking Red Hat Enterprise subscription... ${reset}" - subscription-manager status &>> "$LOGFILE" subscription-manager list &>> "$LOGFILE" - subscription-manager list | grep 'Status:' | grep Subscribed &>> "$LOGFILE" + subscription-manager status &>> "$LOGFILE" check_cmd_status 'Error checking subscription status, make sure your server is activated and suscribed to Red Hat Enterprise repositories' # Ckeck repolist