[clue] Setting FQDN on RHEL7.
David L. Willson
DLWillson at TheGeek.NU
Tue Oct 27 12:14:42 MDT 2015
That seems to be by design:
[dlwillson at nb-willson-7 ~]$ hostname
nb-willson-7.localdomain
[dlwillson at nb-willson-7 ~]$ hostname -f
nb-willson-7.localdomain
[dlwillson at nb-willson-7 ~]$ hostname -s
nb-willson-7
--
David L. Willson
Teacher, Engineer, Evangelist
RHCE+Satellite CCAH Network+ A+ Linux+ LPIC-1 Ubuntu_CP SUSE_CLA
Mobile 720-333-LANS(5267)
http://sofree.us
This is a good time for a r3VOLution.
----- Original Message -----
> Charles Burton wrote:
> > Yeah, in RHEL7 the recommended method is:
> >
> > hostnamectl set-hostname<fqdn>
>
> So when I do that the fqdn goes in /etc/hostname. And then
>
> hostname --fqdn
> hostname
>
> both return the same thing. That doesn't seem right, but maybe it
> is.
>
> I'll try looking at the network related settings (hosts and network)
> again if I get a chance.
>
> Dave
> _______________________________________________
> clue mailing list: clue at cluedenver.org
> For information, account preferences, or to unsubscribe see:
> http://cluedenver.org/mailman/listinfo/clue
>
More information about the clue
mailing list