#2369: Set hostname with FQDN
-------------------------------------+--------------------------------------
Reporter: d...@… | Owner: lfs-b...@…
Type: task | Status: new
Priority: normal | Milestone:
Component: Bootscripts | Version: SVN
Severity: normal | Keywords:
-------------------------------------+--------------------------------------
Comment(by matt...@…):
Replying to [comment:5 d...@…]:
> {{{
> hostname -f &&
> hostname -s &&
> hostname -d
> }}}
{{{
# hostname kyoto.internal.net
# hostname
kyoto.internal.net
# hostname -f
kyoto.internal.net
# hostname -s
kyoto
# hostname -d
internal.net
}}}
>
> or
>
> {{{
> cat /proc/sys/kernel/hostname &&
> cat /proc/sys/kernel/domainname
> }}}
{{{
# cat /proc/sys/kernel/hostname
kyoto.internal.net
# cat /proc/sys/kernel/domainname
(none)
}}}
I'm testing in a limited environment though. This is not DNSed/DHCPed, so
someone will have to test under those conditions I guess.
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2369#comment:7>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page