fixed small issue with deploy_gpxe.sh
authorPravin Shinde <pravin@black-perl.(none)>
Fri, 11 Sep 2009 22:43:51 +0000 (00:43 +0200)
committerPravin Shinde <pravin@black-perl.(none)>
Fri, 11 Sep 2009 22:43:51 +0000 (00:43 +0200)
install_help/deploy_gpxe.sh

index 4ec024a..c7bd83d 100755 (executable)
@@ -13,12 +13,8 @@ BKOPATH=`pwd`
 echo "Compiling gpxe..."
 cd $gpxePATH/src
 echo "Generating custom script files"
-cp pxeDHCP.bko.tmpl pxeDHCP.gpxe
-cp pxeSTATIC.bko.tmpl pxeSTATIC.gpxe
-regular_expression=`echo "s/P_BOOT_URL/$BOOT_PATH/g"`
-perl -p -i -e "$regular_expression" pxeDHCP.gpxe 
-perl -p -i -e "$regular_expression" pxeSTATIC.gpxe 
-
+cp pxeDHCP.conf pxeDHCP.gpxe
+cp pxeSTATIC.conf pxeSTATIC.gpxe
 
 ./custom_make.sh
 echo "removing old gpxe images..."