Change how NetBoot clients allocate shadow files

By default, an OS X Yosemite NetBoot client places its shadow files in a NetBootClientsn share point on the server, where n is the share point number. If no such share point is available, the client tries to store its shadow files on a local hard disk.

For OS X v10.3 or later images set for diskless booting, you can change this behavior by using a text editor to specify a value for the NETBOOT_SHADOW variable in the image /etc/hostconfig file.

This value is set in the /etc/hostconfig file in the image .dmg file, not in the server hostconfig file.

These values are permitted:

Value of NETBOOT_SHADOW

Client shadow file behavior

-NETWORK-

(Default) Try to use a server NetBootClients n share point for storing shadow files. If no server share point is available, use a local drive.

-NETWORK_ONLY-

Try to use a server NetBootClients n share point for storing shadow files. If no server share point is available, don’t boot.

-LOCAL-

Try to use a local drive for storing shadow files. If no local drive is available, use a server NetBootClients n share point.

-LOCAL_ONLY-

Try to use a local drive for storing shadow files. If no local drive is available, don’t boot.