From 7e97f27bd3bf5d16be3f66aba3e3ef8a3c7b85b8 Mon Sep 17 00:00:00 2001 From: Stejskal Leos Date: Wed, 22 Nov 2023 14:23:08 +0000 Subject: [PATCH] Fixes #36938 - Ignore output of some commands in Global Registration --- .../registration/global_registration.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/unattended/provisioning_templates/registration/global_registration.erb b/app/views/unattended/provisioning_templates/registration/global_registration.erb index f9f4af6e274..81aa2e9d273 100644 --- a/app/views/unattended/provisioning_templates/registration/global_registration.erb +++ b/app/views/unattended/provisioning_templates/registration/global_registration.erb @@ -163,7 +163,7 @@ if [ -x "$(command -v subscription-manager)" ] ; then subscription-manager clean fi -$PKG_MANAGER_REMOVE katello-ca-consumer\* +$PKG_MANAGER_REMOVE katello-ca-consumer\* > /dev/null 2>&1 <% end -%> # Prepare SSL certificate @@ -175,7 +175,7 @@ chmod 644 $KATELLO_SERVER_CA_CERT if ! [ -x "$(command -v subscription-manager)" ] ; then $PKG_MANAGER_INSTALL subscription-manager else - $PKG_MANAGER_UPGRADE subscription-manager + $PKG_MANAGER_UPGRADE subscription-manager > /dev/null 2>&1 fi if ! [ -f $RHSM_CFG ] ; then