On 10/30/10 4:00 PM, 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.


thanks

edit /etc/rc.conf and enter:

hostname="[put your hostname here]"

change the [put your hostname here] to your actual hostname.

And it will load the name on (re)boot.

Tim Kellers
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to