Description of problem:
Currently subscription-manager does not upload fqdn with its facts, only equivalent of 'hostname'. It would be very useful for it to also upload the equivalent of 'hostname -f'
I expect this would be uploaded as something like 'network.fqdn'
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. configure your system such that 'hostname' returns the host's shortname, and 'hostname -f' returns the fqdn
2. Run 'subscription-manager facts --list | grep fqdn'
no fqdn listed
should upload fqdn.
This is extremely important for Satellite 6.2 and we are planning on building in support for this fact.
Some 3rd party software requires 'hostname' be set to the shortname.
Retested on ;
subscription management server: 0.9.51.21-1
subscription management rules: 5.15.1
The test system is configured to have a short hostname along with FQDN
# hostname -s
# hostname -f
Now verify the fact value of network.fqdn,
# subscription-manager facts --list | grep fqdn
# subscription-manager facts --list | grep network
Observed that now fqdn fact value is collected along with the already existing fact network.hostname.
Marking as Verified!!
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.