
label ks
kernel vmlinuz
append ks=cdrom:/ks.cfg initrd=initrd.img console=ttyS0,115200 nostorage
label local
localboot 1
label memtest86
kernel memtest
append -
e) Create and populate a resources subdirectory with files for later use. Many of the
files found in this directory are detailed in this and following sections of this
document including the appendixes.
4. Call the mkMedia script to create an ISO image using the modified directory
#!/bin/bash
mkisofs -r -N -L -d -J -T -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -V "RHCF" -boot-
load-size 4 -boot-info-table -o /pub/projects/cloud/resources/wa/rhcf.iso
/pub/projects/cloud/resources/wa/r55
which implantisomd5 > /dev/null 2>/dev/null
if [[ $? ]]
then
if [[ -x /usr/lib/anaconda-runtime/implantisomd5 ]]
then
/usr/lib/anaconda-runtime/implantisomd5 rhcf.iso
fi
else
implantisomd5 rhcf.iso
fi
6.1.3 Install
With due attention to the above preparations, the actual installation is quick and easy. The
assumed starting state is that the blade is powered off.
1. Call the following script which unmounts any previously mounted virtual CDROM,
mounts the previously created media, sets the boot order so CDROM is first, powers
on the blade, waits for the installation to initiate, and changes the boot order so the
hard drive boots first. By default, the CDROM remains mapped throughout reboots.
#!/bin/bash -x
# source env vars
if [[ -x varDefs.sh ]] ; then
source varDefs.sh
elif [[ -x /pub/projects/cloud/resources/wa/r55/resources/varDefs.sh ]] ; then
source /pub/projects/cloud/resources/wa/r55/resources/varDefs.sh
else
echo "didn't find a varDefs.sh file"
fi
ilocommand --ilourl //${LOGIN}:${MGMT2_ILO_PW}@${MGMT2_ILO} vm cdrom set disconnect
sleep 2
39 www.redhat.com
Comentarios a estos manuales