Why does spacewalk-hostname-rename script takes hostname from system environment ?
Issue
- The
spacewalk-hostname-rename
script depends on hostname set in /proc/sys/kernel/hostname file. Instead whyhostname -f
is not used as it gives FQDN. The man page mentions,
# man hostname
-f, --fqdn, --long
Display the FQDN (Fully Qualified Domain Name). A FQDN consists of a short host name and the DNS domain name.
- From where
spacewalk-hostname-rename
script takes hostname to regenerate SSL public certificate ?
Environment
- Red Hat Network Satellite 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.