# HG changeset patch # User Pascal Bellard # Date 1235984255 0 # Node ID bbd4c519c147036bbcf509020e1e9b541e53eceb # Parent 40049921ce2be9f2f0f7da2681f280ec9f8151c9 gpxe-pxe: url redondancy setup diff -r 40049921ce2b -r bbd4c519c147 gpxe-pxe/receipt --- a/gpxe-pxe/receipt Sun Mar 01 22:17:59 2009 +0000 +++ b/gpxe-pxe/receipt Mon Mar 02 08:57:35 2009 +0000 @@ -13,7 +13,10 @@ { mkdir -p $fs/usr/share/boot cp $src/src/bin/undionly.kpxe $fs/usr/share/boot/gpxe.pxe - # install 127 bytes of forced url at offset 5 - echo -n "http://boot.slitaz.org/pxe/pxelinux.0" | cat - /dev/zero | dd bs=1 \ - seek=5 count=127 conv=notrunc of=$fs/usr/share/boot/gpxe.pxe + # install 255 bytes of forced url at offset 5 + echo -n "\ +http://boot.slitaz.org/pxe/pxelinux.0,\ +http://mirror.slitaz.org/pxe/pxelinux.0,\ +http://download.tuxfamily.org/slitaz/pxe/pxelinux.0" | cat - /dev/zero | \ + dd bs=1 seek=5 count=255 conv=notrunc of=$fs/usr/share/boot/gpxe.pxe }