--- tftp/live-helper/build.sh 2009/08/03 20:59:35 131 +++ tftp/live-helper/build.sh 2009/08/04 11:50:24 132 @@ -2,25 +2,37 @@ sudo apt-get install live-helper nfs-kernel-server -mirror='--mirror-bootstrap http://192.168.1.20:3142/debian'; mirror='--mirror-bootstrap http://ftp.hr.debian.org/debian'; +test `hostname` == 't61p' && mirror='--mirror-bootstrap http://192.168.1.20:3142/debian'; sudo lh_clean rm -Rf config tftpboot binary lh_config $mirror --binary-images net \ --cache enabled \ --bootloader syslinux \ + --distribution squeeze \ --net-root-filesystem nfs \ --net-root-server 172.16.10.1 --net-root-path `pwd`/binary \ - --net-cow-server 172.16.10.1 --net-cow-path `pwd`/hosts/client_mac_address \ || exit -# --distribution squeeze \ +# --net-cow-server 172.16.10.1 --net-cow-path `pwd`/hosts/client_mac_address \ # --net-cow-filesystem cfs \ time sudo lh_build || exit sudo chown dpavlin tftpboot/pxelinux.cfg/default cat > tftpboot/pxelinux.cfg/default << ____ +label pxelator + menu label PXElator over nfs + kernel debian-live/i386/vmlinuz-2.6.26-2-686 + append initrd=debian-live/i386/initrd.img-2.6.26-2-486 boot=live union=aufs netboot=nfs nfsroot=172.16.10.1:/home/dpavlin/llin/pxelator/tftp/live-helper/binary + + kernel debian-live/i386/vmlinuz-2.6.26-2-686 + append initrd=debian-live/i386/initrd.img-2.6.26-2-686 boot=live fetch=http://172.16.10.1:7777/live-helper/binary/live/filesystem.squashfs + + menu label PXElator over ftp + kernel debian-live/i386/vmlinuz-2.6.26-2-686 + append initrd=debian-live/i386/initrd.img-2.6.26-2-686 boot=live fetch=tftp://172.16.10.1/live-helper/binary/live/filesystem.squashfs + include debian-live/i386/boot-screens/live.cfg default debian-live/i386/boot-screens/vesamenu.c32 prompt 0