wok rev 2339

gpxe-pxe: url redondancy setup
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 02 08:57:35 2009 +0000 (2009-03-02)
parents 40049921ce2b
children 67b0b4fc1484
files gpxe-pxe/receipt
line diff
     1.1 --- a/gpxe-pxe/receipt	Sun Mar 01 22:17:59 2009 +0000
     1.2 +++ b/gpxe-pxe/receipt	Mon Mar 02 08:57:35 2009 +0000
     1.3 @@ -13,7 +13,10 @@
     1.4  {
     1.5  	mkdir -p $fs/usr/share/boot
     1.6  	cp $src/src/bin/undionly.kpxe $fs/usr/share/boot/gpxe.pxe
     1.7 -	# install 127 bytes of forced url at offset 5
     1.8 -	echo -n "http://boot.slitaz.org/pxe/pxelinux.0" | cat - /dev/zero | dd bs=1 \
     1.9 -		seek=5 count=127 conv=notrunc of=$fs/usr/share/boot/gpxe.pxe
    1.10 +	# install 255 bytes of forced url at offset 5
    1.11 +	echo -n "\
    1.12 +http://boot.slitaz.org/pxe/pxelinux.0,\
    1.13 +http://mirror.slitaz.org/pxe/pxelinux.0,\
    1.14 +http://download.tuxfamily.org/slitaz/pxe/pxelinux.0" | cat - /dev/zero | \
    1.15 +	   dd bs=1 seek=5 count=255 conv=notrunc of=$fs/usr/share/boot/gpxe.pxe
    1.16  }