HP SmartStart-Software User Manual

Page 17

Advertising
background image

Advanced topics 17

"ProLiant ML310 G2" )

./conrep -l -fdata_files/ml310g2_conrep.dat

./ifhw ${HPDISCOVERY_FILE} allboards.xml "PCI:Intel(R) 6300ESB Ultra ATA

Storage/SATA Controller"

if [ $? = 0 ] ; then

echo "Plain SATA found"

# Plain SATA, set BOOTDEVNODE manually since hardware discovery won't

find IDE devices

export BOOTDEVNODE=/dev/hda

fi

## ADD EXTRA ProLiant ML310 G2 Configuration Steps HERE

;;

## ADD MORE SERVERS HERE

ProLiant* )

echo "No configuration process defined for this ProLiant server"

echo "Update $0 with steps for this ProLiant server"

exec /bin/bash

;;

* )

echo "Unrecognized Server"

exec /bin/bash

;;

esac

## CONTINUE COMMON INSTALL PROCESS

cd ${TOOLKIT}

echo "Pausing to allow drivers to catch up"

sleep 5

echo ""

echo "Rerun hardware discovery to find boot device"

./hpdiscovery -f ${HPDISCOVERY_FILE}

## use hwquery to fetch the boot dev node from hardware discovery file.

if [ -z ${BOOTDEVNODE} ]; then

export `./hwquery ${HPDISCOVERY_FILE} allboards.xml BOOTDEVNODE=DevNode`

fi

echo "Boot Device=${BOOTDEVNODE}"

if [ -z ${BOOTDEVNODE} ]; then

echo "MISSING boot device dev node. Check that the drivers are loaded."

exec /bin/bash

fi

ls -al ${BOOTDEVNODE}*

ln -s ${BOOTDEVNODE} /dev/sssd

echo "### Linux Unattended Install using Kickstart ###"

echo "clearing mbr and a few more sectors"

Advertising
This manual is related to the following products: