next up previous contents
Next: MAC_ADDR syntax Up: Configuration Previous: BOOTLOADER syntax   Contents


Manually setting a hostname

A substantial dependency of oneSIS is that the node's hostname usually must have already been set when rc.preinit runs at boot time. This means that the hostname normally must be set via DHCP or from in an initrd prior to running /sbin/init.

The hostname can be set by kernel-level autoconfiguration or in an initrd. This requires a network resource such as DHCP to supply the hostname, but there is another alternative: if a node reaches rc.preinit without having a hostname set, the MAC_ADDR directives are consulted. This is often necessary for bringing up stand-alone nodes (ie: the main DHCP server).

Note: The MAC_ADDR directive are only used when no hostname is set. They do not override a previously set hostname.


Subsections

root 2005-06-19