Workaround for RHEL registration as "localhost"
authorJames Slagle <jslagle@redhat.com>
Thu, 17 Aug 2017 18:27:30 +0000 (14:27 -0400)
committerJames Slagle <jslagle@redhat.com>
Thu, 17 Aug 2017 18:27:30 +0000 (14:27 -0400)
commitd59ba51a1365e897b072c19c40346f0237f62c8b
tree57bcfbf11383a3f572a7e50b13a63745eae757cb
parent4af5f02c808df8fad76d4d0d7b2183619c4628d2
Workaround for RHEL registration as "localhost"

Workaround systems getting registered as "localhost" during
RHEL registration if they don't have a fqdn set by first
rm'ing the /etc/rhsm/facts directory. When the directory does not
exist, the katello-rshm-consumer which runs when installing
the katello-ca-consumer will not set the hostname.override fact to
"localhost".

Change-Id: Ia29aa9c775f715f9745bb7e1e4022cc395a7d092
Partial-Bug: #1711435
extraconfig/pre_deploy/rhel-registration/scripts/rhel-registration
releasenotes/notes/workaround-unset-fqdn-for-rhel-reg-be9c4620146096be.yaml [new file with mode: 0644]