-Use curl instead of normal tftp client to upload, since Fedora only has curl

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1231 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-04-30 15:11:04 +00:00
parent 63403c03d9
commit a34b602d84

View File

@ -18,7 +18,9 @@ elif [ -r /boot/grub/menu.lst ]; then
fi
`dirname $0`/unlocktftpdir.awk $MASTER 3002
tftp $MASTER -m binary -c put $KERNEL xcat/$NODE/$KNAME
tftp $MASTER -m binary -c put $INITRD xcat/$NODE/$INAME
curl -T $KERNEL tftp://$MASTER/xcat/$NODE/$KNAME
curl -T $INITRD tftp://$MASTER/xcat/$NODE/$INAME
#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
`dirname $0`/setiscsiparms.awk $MASTER 3002 $KNAME $INAME "$KCMDLINE"