Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Paste Description for dukez

make-cd.sh

dukez
Wednesday, April 18th, 2007 at 7:17:30am MDT 

  1. #!/bin/bash
  2.  
  3. . /etc/fai/fai.conf
  4. . /etc/fai/make-fai-nfsroot.conf
  5.  
  6. make-fai-nfsroot -v
  7. cp -pf /usr/lib/fai/subroutines-linux $NFSROOT/usr/lib/fai/
  8. cp -Rp /lib/modules/$(uname -r) $NFSROOT/lib/modules/
  9. touch $NFSROOT/boot/RUNNING_FROM_FAICD
  10. echo "deb file:$MNTPOINT etch main" > $NFSROOT/etc/apt/sources.list
  11. mkinitramfs -o /boot/initrd.img-fai-$(uname -r)
  12.  
  13. rm -rf $NFSROOT/var/lib/fai/config/*
  14. cp -R /srv/fai/config/* $FAI_CONFIGDIR
  15. rm -rf $NFSROOT/${MNTPOINT}/*
  16. fai-mirror $NFSROOT/${MNTPOINT}/
  17. rm /var/spool/bootcd/cdimage.iso
  18. bootcdwrite
  19. mv /var/spool/bootcd/cdimage.iso /var/spool/bootcd/masterdebian_`cat /srv/fai/config/VERSION`.iso

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

worth-right
fantasy-obligation
fantasy-obligation