Background: On Solaris 2.5 x86 the hostid is generated on installation
and is stored in /kernel/misc/sysinit. More specifically, the sole
purpose of /kernel/misc/sysinit is to copy the hostid into hw_serial.

This sysinit module provides allows one to compile and install a
replacement /kernel/misc/sysinit, which will install whatever hostid
you want.

If you just want to change the apparent hostid, I recommend using
sethostid-simple-5.x instead of this module. If something goes wrong
with the installation of the new /kernel/misc/sysinit, your system may
become unbootable.

Instructions:

1. Make a backup copy of your /kernel/misc/sysinit file. It is best to
put the backup copy outside of the /kernel directory hierarchy

2. Change the #define HOSTID in sysinit.c to be whatever you like.

3. Edit the makefile to give the correct path to your C compiler

3. su to root

4. /usr/ccs/bin/make

5. make sure your hostid is really what you want it to be. 

6. /usr/ccs/bin/make install

7. "init 6" to reboot


