-Attempt to use tftp to upload kernel/image in an iSCSI install
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@911 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
597472d2e0
commit
5960171fb2
@ -17,12 +17,8 @@ elif [ -r /boot/grub/menu.lst ]; then
|
||||
INITRD=`echo $INITRD|sed -e 's!//!/!g'`
|
||||
|
||||
fi
|
||||
mkdir /servboot
|
||||
`dirname $0`/unlocktftpdir.awk $MASTER 3002
|
||||
mount -o nolock $MASTER:/tftpboot/xcat/$NODE /servboot
|
||||
cp $KERNEL /servboot/$KNAME
|
||||
cp $INITRD /servboot/$INAME
|
||||
umount /servboot
|
||||
tftp $MASTER -m binary -c put $KERNEL xcat/$NODE/$KNAME
|
||||
tftp $MASTER -m binary -c put $INITRD xcat/$NODE/$INAME
|
||||
`dirname $0`/locktftpdir.awk $MASTER 3002
|
||||
rmdir /servboot
|
||||
`dirname $0`/setiscsiparms.awk $MASTER 3002 $KNAME $INAME "$KCMDLINE"
|
||||
|
Loading…
Reference in New Issue
Block a user