--- tftp/live-helper/build.sh 2009/08/03 15:06:36 126 +++ tftp/live-helper/build.sh 2009/08/03 16:28:02 127 @@ -1,16 +1,21 @@ #!/bin/sh -x -# sudo apt-get install live-helper nfs-kernel-server +sudo apt-get install live-helper nfs-kernel-server -mkdir binary/hosts +mirror='--mirror-bootstrap http://192.168.1.20:3142/debian'; +mirror='--mirror-bootstrap http://ftp.hr.debian.org/debian'; sudo lh_clean -lh_config --binary-images net \ +rm -Rf config tftpboot binary +lh_config $mirror --binary-images net \ + --cache enabled \ + --bootloader syslinux \ + --net-root-filesystem nfs \ --net-root-server 172.16.10.1 --net-root-path `pwd`/binary \ - --union-filesystem unionfs \ --net-cow-server 172.16.10.1 --net-cow-path `pwd`/hosts/client_mac_address \ - --apt-http-proxy http://192.168.1.20:3142 --apt-ftp-proxy http://192.168.1.20:3142 \ || exit +# --distribution squeeze \ +# --net-cow-filesystem cfs \ time sudo lh_build || exit @@ -19,5 +24,12 @@ include debian-live/i386/boot-screens/live.cfg default debian-live/i386/boot-screens/vesamenu.c32 prompt 0 -timeout 00 +timeout 50 ____ + +sudo exportfs -v -o ro,async,subtree_check,no_root_squash 172.16.10.0/255.255.255.0:`pwd`/binary + +h=hosts/AC-DE-48-00-00-01 +mkdir -p $h +sudo exportfs -v -o rw,async,subtree_check,no_root_squash 172.16.10.0/255.255.255.0:`pwd`/$h +