From a34b602d84987cc00662da4ac566e119982ac8f0 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 30 Apr 2008 15:11:04 +0000 Subject: [PATCH] -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 --- xCAT/postscripts/uploadboot | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xCAT/postscripts/uploadboot b/xCAT/postscripts/uploadboot index 73e5a5d90..e35233152 100755 --- a/xCAT/postscripts/uploadboot +++ b/xCAT/postscripts/uploadboot @@ -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"