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

Paste Description for dukez

bootcd.conf

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

  1. #
  2. # bootcdwrite.conf
  3. #
  4. # look for man bootcdwrite.conf(5) for more informations
  5. #
  6.  
  7. # this path was added as prefix to KERNEL, INITRD, DISABLE_CRON, NOT_TO_CD
  8. # and NOT_TO_RAM, if this are relativ paths (without starting "/")
  9. SRCDISK=/srv/fai/nfsroot
  10.  
  11. # Define the kernel which is used
  12. KERNEL=/boot/vmlinuz-2.6.18-4-amd64
  13.  
  14. # size of each ramdisk ram1 and ram2 (ram1: /dev /etc /home /root /tmp,
  15. # (ram2: /var)
  16. RAMDISK_SIZE=16384
  17.  
  18. # typ is CD or DVD
  19. TYP=CD
  20.  
  21. # specify one or more CD devices to boot from, first is default
  22. # "auto" try to find the bootcd on all SCSI and IDE CDROMS
  23. CDDEV="auto /dev/hda /dev/hdb /dev/hdc /dev/hdd /dev/scd0 /dev/scd1"
  24.  
  25. # Text to Display at Boottime (see syslinux doku)
  26. # This option is not supported for hppa
  27. DISPLAY="/usr/share/bootcd/default.txt"
  28.  
  29.  
  30. # do some checks or not
  31. DO_CHECK=yes
  32.  
  33. # additional options for the kernel
  34. APPEND="FAI_ACTION=install"
  35.  
  36. # exclude some files or directories from writing to cd
  37. NOT_TO_CD="/usr/share/locale /usr/share/doc /var/lib/apt /var/cache/apt /usr/share/man /var/lib/dpkg/info /media/mirror/aptcache /media/mirror/.apt-move"
  38.  
  39. # exclude some files or directories from loading to ram
  40. # Because most people's home and root dir are to large to include
  41. # in RAM, subdirectories can be excluded:
  42. NOT_TO_RAM="$(find $SRCDISK/home $SRCDISK/root -maxdepth 1 -mindepth 1 -type d)"
  43.  
  44. # If you are using ssh it is helpful to have a unique ssh hostkey for
  45. # each CD.
  46. SSHHOSTKEY=yes
  47.  
  48. # logfile
  49. ERRLOG=/var/log/bootcdwrite.log
  50.  
  51. # where the image resists after build
  52. VAR=/var/spool/bootcd
  53.  
  54. # FLOPPY_RUNTIME_DEV=<floppy device>|""
  55. # When you boot from cd you read changes from this device.
  56. FLOPPY_RUNTIME_DEV=/dev/fd0
  57.  
  58. # BOOTFLOPPY=yes|no
  59. # If you want to boot from FLOPPY specify BOOTFLOPPY=yes. This reduces
  60. # space on floppy used by bootcdflopcp. For this to work FLOPPY_CREATE_DEV
  61. # has to be specified.
  62. # For hppa this option is not supported and must be set to no.
  63. # Default:
  64. #   BOOTFLOPPY=no
  65. BOOTFLOPPY=no
  66.  
  67. # If you want to boot several machines from the same cdrom, you must have
  68. # the individual configuartion (exp: /etc/network/interfaces) on floppy.
  69. # If one can not be mounted it is a good idea to stop booting and to wait
  70. # for manual interaction instead of comming up with a wrong configuration.
  71. BOOT_ONLY_WITH_FLOPPY=no
  72.  
  73. # delete some chached files in /var
  74. CLEAN_VAR=yes
  75.  
  76. # If FASTBOOT=yes then additional images for the ramdisk will be created
  77. # by bootcdwrite and copied to CD. This allows faster booting,
  78. # but needs extra space on CD
  79. FASTBOOT=yes
  80.  
  81. # use isolinux (yes,no,auto), auto check for isolinux and use it
  82. ISOLINUX=auto
  83.  
  84. # use -s (save, slow, stupid) option on syslinux
  85. SYSLINUX_SAVE=yes
  86.  
  87. # choose the architecture
  88. # ARCH=auto|hppa|i386|ia64
  89. ARCH=auto
  90.  
  91. # use devfs or not
  92. DEVFS=no
  93.  
  94. # path to initrd
  95. INITRD="/boot/initrd.img-fai-2.6.18-4-amd64"
  96.  
  97. # addiditionel entries to fstab
  98. # TO_FSTAB="/dev/hdc1 /home ext3 defaults 1 1
  99. # /dev/usb0 /mnt/usb ext3 defaults 1 1 "
  100. TO_FSTAB=""
  101.  
  102. # transparent compression of ISO 9660/Rock Ridge filessytem
  103. # ("auto" checks for space to compress the image on the local system)
  104. # COMPRESS=<yes|no|auto>
  105. COMPRESS="auto"
  106.  
  107. # Files or Directory-Trees that should never be compressed on CD can be listed
  108. # here. You have to define the Path as it is on the CD, (with /var.ro
  109. # instead of /var)
  110. NOTCOMPRESSED=""
  111.  
  112. # Files listed in DISABLE_CRON will be on the cdrom with a .no_run_on_bootcd
  113. # suffix so run-parts won't execute them. The original file will be a link to
  114. # /bin/true.
  115. #
  116. DISABLE_CRON="etc/cron.daily/find etc/cron.daily/standard etc/cron.daily/security"
  117.  
  118. # With this variable you can add or delete some options
  119. # given to mkisofs by bootcdwrite.
  120. #   Please create debian-bugreports if you have to use special
  121. #   options, not mentioned here. Then I can list this options here.
  122. #
  123. MKISOFS_CHNG=""
  124.  
  125. # function extra_changes()
  126. # It is possible to define a function called extra_changes to have some
  127. # files modified on the ISO image. Here is an example:
  128. #
  129. #
  130. #   function extra_changes() {
  131. #     echo "noname" >$VAR/changes/etc.ro/hostname
  132. #
  133. #     mkdir -p $VAR/changes/etc.ro/network
  134. #     ( echo "auto lo"
  135. #       echo "iface lo inet loopback"
  136. #       echo ""
  137. #       echo "auto eth0"
  138. #       echo "iface eth0 inet static"
  139. #       echo "       address 0.0.0.0"
  140. #       echo "       netmask 255.255.255.0"
  141. #     ) >$VAR/changes/etc.ro/network/interfaces
  142. #
  143. #     echo "127.0.0.1 localhost noname" >$VAR/changes/etc.ro/hosts
  144. #
  145. #     cat $SRCDISK/etc/passwd |
  146. #     grep -v -e "^bs:" -e "^bianca:" -e "^tim:" >$VAR/changes/etc.ro/passwd
  147. #
  148. #     cat $SRCDISK/etc/shadow |
  149. #     grep -v -e "^bs:" -e "^bianca:" -e "^tim:" >$VAR/changes/etc.ro/shadow
  150. #
  151. #     cat $SRCDISK/etc/group |
  152. #     grep -v -e "^bs:" -e "^bianca:" -e "^tim:" >$VAR/changes/etc.ro/group
  153. #   }
  154. #
  155. #
  156.  
  157. # BOOTCDMODPROBE=standard|bootcd|auto
  158. # If booted from initrd bootcd has to load the necessarry modules.
  159. # If only modules provided by initramfs-tools are needed you can
  160. # specify "standard" here. If bootcd should try extra hard to load
  161. # neccessary modules you can specify "bootcd" here.
  162. # Bootcd will use discover for this purpose. So discover has to be installed.
  163. # If you specify auto, bootcd will check if discover is installed.
  164. # BOOTCDMODPROBE=standard will be set.
  165. # Be aware that people have reported, that sometimes BOOTCDMODPROBE=bootcd
  166. # may not work but sometimes it is needed.
  167. BOOTCDMODPROBE=standard

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
worth-right
worth-right