
/bin/mount -o ro /dev/scd0 /root/distro
# source env vars
if [[ -x varDefs.sh ]] ; then
source varDefs.sh
elif [[ -x /root/varDefs.sh ]] ; then
source /root/varDefs.sh
elif [[ -x /root/resources/varDefs.sh ]] ; then
source /root/resources/varDefs.sh
elif [[ -x /root/distro/resources/varDefs.sh ]] ; then
source /root/distro/resources/varDefs.sh
else
echo "didn't find a varDefs.sh file"
fi
# install ssh pexpect commands
/root/distro/resources/instpyCmds.sh /root/distro/resources
# configure storage volumes, presentation, LVM volumes
/root/distro/resources/prep_storage.sh
# generate ssh configuration to be passed to other cluster members
/root/distro/resources/prep_ssh.sh
# Create satellite
/root/distro/resources/create_satVM.sh
# remove the temporary node's RHN registration
/root/distro/resources/wipeRHNReg.py ${MGMT2_NAME}
mv /etc/rc.d/rc.local.shipped /etc/rc.d/rc.local
) >> /var/log/rc.local.out 2>&1
d) Modify the isolinux/isolinux.cfg file to use the ks.cfg that exists on the new media
default ks
prompt 1
timeout 60
display boot.msg
F1 boot.msg
F2 options.msg
F3 general.msg
F4 param.msg
F5 rescue.msg
label linux
kernel vmlinuz
append initrd=initrd.img
label text
kernel vmlinuz
append initrd=initrd.img text
www.redhat.com 38
Comentários a estes Manuais