/[pxelator]/tftp/live-helper/build.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /tftp/live-helper/build.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 127 by dpavlin, Mon Aug 3 16:28:02 2009 UTC revision 132 by dpavlin, Tue Aug 4 11:50:24 2009 UTC
# Line 2  Line 2 
2    
3  sudo apt-get install live-helper nfs-kernel-server  sudo apt-get install live-helper nfs-kernel-server
4    
 mirror='--mirror-bootstrap http://192.168.1.20:3142/debian';  
5  mirror='--mirror-bootstrap http://ftp.hr.debian.org/debian';  mirror='--mirror-bootstrap http://ftp.hr.debian.org/debian';
6    test `hostname` == 't61p' && mirror='--mirror-bootstrap http://192.168.1.20:3142/debian';
7    
8  sudo lh_clean  sudo lh_clean
9  rm -Rf config tftpboot binary  rm -Rf config tftpboot binary
10  lh_config $mirror --binary-images net \  lh_config $mirror --binary-images net \
11          --cache enabled \          --cache enabled \
12          --bootloader syslinux \          --bootloader syslinux \
13            --distribution squeeze \
14          --net-root-filesystem nfs \          --net-root-filesystem nfs \
15          --net-root-server 172.16.10.1 --net-root-path `pwd`/binary \          --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 \  
16  || exit  || exit
17  #       --distribution squeeze \  #       --net-cow-server  172.16.10.1 --net-cow-path  `pwd`/hosts/client_mac_address \
18  #       --net-cow-filesystem cfs \  #       --net-cow-filesystem cfs \
19    
20  time sudo lh_build || exit  time sudo lh_build || exit
21    
22  sudo chown dpavlin tftpboot/pxelinux.cfg/default  sudo chown dpavlin tftpboot/pxelinux.cfg/default
23  cat > tftpboot/pxelinux.cfg/default << ____  cat > tftpboot/pxelinux.cfg/default << ____
24    label pxelator
25            menu label PXElator over nfs
26            kernel debian-live/i386/vmlinuz-2.6.26-2-686
27            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
28    
29            kernel debian-live/i386/vmlinuz-2.6.26-2-686
30            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
31    
32            menu label PXElator over ftp
33            kernel debian-live/i386/vmlinuz-2.6.26-2-686
34            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
35    
36  include debian-live/i386/boot-screens/live.cfg  include debian-live/i386/boot-screens/live.cfg
37  default debian-live/i386/boot-screens/vesamenu.c32  default debian-live/i386/boot-screens/vesamenu.c32
38  prompt 0  prompt 0

Legend:
Removed from v.127  
changed lines
  Added in v.132

  ViewVC Help
Powered by ViewVC 1.1.26