fixed the problem of deploy_gpxe.sh
authorPravin Shinde <pravin@black-perl.(none)>
Mon, 27 Jul 2009 22:58:37 +0000 (00:58 +0200)
committerPravin Shinde <pravin@black-perl.(none)>
Mon, 27 Jul 2009 22:58:37 +0000 (00:58 +0200)
configure
install_help/deploy_gpxe.sh

index 0938438..56d647b 100755 (executable)
--- a/configure
+++ b/configure
@@ -10,7 +10,7 @@
 GPXE_GIT_LOCATION="../gpxe"
 
 # URL to be used for embedding into compiled gpxe for downloading images.
-BOOT_URL="http:\/\/192.168.111.11\/pxeknife\/"
+BOOT_URL="http:\/\/192.168.111.11\/BKO\/"
 
 # HTTP location on local server where all iso images are kept.
 ISO_LOCATION_LOCAL="http:\/\/192.168.111.11\/"
index 13ebb4c..d677f69 100755 (executable)
@@ -23,7 +23,9 @@ perl -p -i -e "$regular_expression" pxeSTATIC.gpxe
 ./custom_make.sh
 echo "removing old gpxe images..."
 cd $BKOPATH
-rm -rf ./gpxe_images/*
+rm -rf ./gpxe_images
+mkdir ./gpxe_images
+
 echo "copying gpxe images..."
 cp $gpxePATH/src/bin/gpxe.dsk ./gpxe_images/
 cp $gpxePATH/src/bin/gpxe.usb ./gpxe_images/