We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 55ba53c + 0b29b44 commit ee5219dCopy full SHA for ee5219d
bootc/rhsm.sh
@@ -11,7 +11,7 @@ RHSM_REPOS="--enable=rhoso-18.0-for-rhel-9-x86_64-rpms \
11
# Only required when Simple Content Access (SCA) is disabled
12
RHSM_POOL=""
13
14
-rm /etc/yum.repos.d/*.repo
+rm -f /etc/yum.repos.d/*.repo
15
subscription-manager register --username=$RHSM_USER --password=$RHSM_PASSWORD
16
if [ -n "${RHSM_POOL}" ]; then
17
subscription-manager attach --pool=$RHSM_POOL
0 commit comments