Sabine Baer baerks at
Sat Oct 30 20:26:38 UTC 2010

On Sat, Oct 30, 2010 at 04:00:39PM -0400, Tim Dunphy wrote:
> how can I set the hostname so that it persists through reboots? I have
> set the hostname I want in /etc/hosts but rebooting the change does
> not show up. In CentOS you have /etc/hostname which serves this
> purpose but in FreeBSD I don't know how to do this.

I think, /etc/rc.conf could be the best place.


Der Gefraessige, wenn er Vorsicht nicht kennt, isst sich Uebelkeit an.
Dem toerichten Mann wird sein Magen zum Spott, wenn er zu Klugen
kommt.                                                    (Hávamál 13)

More information about the freebsd-questions mailing list