Merge branch 'ent-8941-modifcar-check-de-subscripcion-del-script-de-instalacion-deploy-pandora-el8' into 'develop'

8941-modifcar-check-de-subscripcion-del-script-de-instalacion-deploy-pandora-el8

See merge request artica/pandorafms!4869
This commit is contained in:
Rafael Ameijeiras 2022-05-09 06:06:36 +00:00
commit 09729c3100
1 changed files with 1 additions and 2 deletions

View File

@ -166,9 +166,8 @@ if [ "$(grep -Ei 'Red Hat Enterprise' /etc/redhat-release)" ]; then
## In case REDHAT ## In case REDHAT
# Check susbscription manager status: # Check susbscription manager status:
echo -en "${cyan}Checking Red Hat Enterprise subscription... ${reset}" echo -en "${cyan}Checking Red Hat Enterprise subscription... ${reset}"
subscription-manager status &>> "$LOGFILE"
subscription-manager list &>> "$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' check_cmd_status 'Error checking subscription status, make sure your server is activated and suscribed to Red Hat Enterprise repositories'
# Ckeck repolist # Ckeck repolist