On Mon, Oct 31, 2011 at 8:23 PM, Harry Putnam <rea...@newsguy.com> wrote: > running b 151a > > If I wanted to change the hostname of a server permanently, where is > the hostname kept and where is it read by the OS besides /etc/hosts > file? > > Sorry for the lameo question but googling, the hits are apparently out > of date and say things like /etc/hostname.NIC.. and I see nothing like > that. >
The convention in a static IP configuration is to associate your hostname with the IP of the primary interface. So you put hostname in /etc/hostname.NIC file and associate that name to the IP in /etc/hosts. When using DHCP, that should supply a hostname. Otherwise /etc/nodename is used. Check man nodename Regards, Moinak. _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss