IBM BladeCenter Deployment Guide
fi
gunzip
for moduleDir in *; do
for moduleFile in `find $moduleDir
targetModuleFiles=`find /lib/modules/$moduleDir
if [ ."$targetModuleFiles" = ."" ]; then
cp $moduleFile /lib/modules/$moduleDir/kernel else
for targetModuleFile in $targetModuleFiles; do cp $moduleFile $targetModuleFile
done fi
#update module dependencies $DEPMOD
fi done
done
cd $CWD
# clean up
rm
4.Run “chmod +x update_modules.sh” to mark it executable.
5.Add the following text (with appropriate changes to reflect the names of the files you created) to the %post section of the kickstart file in order to facilitate execution of the script created in step #1.
#copy driver diskette image from the root directory of
#the NFS share to the root directory on the target machine
cp /mnt/source/dd.img /mnt/sysimage
#copy module update script from the root directory of
#the NFS share to the root directory on the target machine cp /mnt/source/update_modules.sh /mnt/sysimage
#Execute the script in the chrooted environment
chroot /mnt/sysimage ./update_modules.sh
Version 3.0, 3/10/2006 | 49 |
The BladeCenter Deployment Guide is intended as a personal productivity tool. It is not intended to be comprehensive and is provided for
guidance only, on an 'as is basis' without warranty of any kind. Please be aware that its contents have not been certified by IBM.