Wednesday, January 24, 2007

small problem seting up jumpstart



I have a central jumpstart server delivering Solaris 8 , 9 & 10 to the engineering workshop. Its recently been upgraded from an Ultra 2 to a V20z running Solaris 10 x86.

A colleague came over a problem with the Solaris 8 add_install_client, producing adb errors. On closer observation the add_install_client incorrectly parses output from the ifconfig command, but only when zones are running. ifconfig list which zone owns the interface and this what Solaris 8 add_install_client script fails to cope with.

Workaround, make the following changes in blue at line number 1939 to add_install_client
read inet ipaddr netmask mask broadcast broadaddr
if [ "${ifname}" = "lo0:" ]; then
continue;
fi
if [ "$inet" = "zone" ]; then
# Found an interface dedicated to a local zone.
# Read in the real "inet" line and continue.
read inet ipaddr netmask mask broadcast broadaddr
continue;
fi



    No comments: