HP Insight Control server provisioning Capturing and Installing Linux System Images

17
filename="opsware-agent-LINUX-5SERVER-X86_64"
fi
fi
if [ -e /etc/SuSE-release ] ; then
cat /etc/SuSE-release | grep -i "version = 11"
if [ $? -eq 0 ] ; then
echo "found sles11" >> $logfile
filename="opsware-agent-LINUX-SLES-11-X86_64"
fi
cat /etc/SuSE-release | grep -i "version = 10"
if [ $? -eq 0 ] ; then
echo "found sles10" >> $logfile
filename="opsware-agent-LINUX-SLES-10-X86_64"
fi
fi
echo "File to Download -> $filename" >> $logfile
## Wait for NIC to come up properly
sleep 60
if [ -n "$filename" ] ; then
wget http://$icspip:8081/$filename >> $logfile
if [ -e "$filename" ] ; then
chmod +x $filename
echo "Execute ./$filename -s --opsw_gw_list $icspip:3001" \
>> $logfile
./$filename -s --settime --force_full_hw_reg --force_sw_reg \
--opsw_gw_list $icspip:3001 >> $logfile
else
echo "Download failed for http://$icspip:8081/$filename" \
>> $logfile
exit "1"
fi
else
echo "Download failed for http://$icspip:8081/$filename" \
>> $logfile
exit "1"
fi
exit 0
3. Click OK to save the script.
Create the Install SUSE Linux Image OS Build Plan
Once the scripts from the Creating the Install Linux Image OS Build Plans sections have been created, the Linux install
OSBP can be created.
To create the Install SUSE Linux System Image OSBP:
1. Make a copy of the ProLiant HW - Boot Linux Service OS OSBP by selecting Actions and Save As from the OS
Build Plan view.
2. Edit the new OSBP with the following:
a. Keep the first step, Check iLO Service.
b. Modify the Boot step to ensure that the PXE LinuxPE service OS is booted by adding --method
network parameter to the Parameters field. It is possible to avoid using this parameter and use the
Intelligent Provisioning environment as well, but that would require modifications to some of the
scripts to deal with the VID.
c. Keep the third step, Wait for HP SA Agent.