If a system is already registered and causing problems;
sudo systemctl stop rhsmcertd
sudo rm -rf /etc/pki/consumer/*
sudo rm -rf /etc/pki/entitlement/*
sudo rm -rf /var/lib/rhsm/cache/*
sudo rm -rf /var/lib/rhsm/facts/*
sudo rm -rf /etc/rhsm-host
sudo subscription-manager clean
then
sudo systemctl start rhsmcertd
and to verify that the old registration is gone;
sudo subscription-manager identity
then register again;
sudo subscription-manager register
and attach;
sudo subscription-manager attach --auto
No comments:
Post a Comment
Note: only a member of this blog may post a comment.