#
# bootcdwrite.conf
#
# Requirements:
#   SRCDISK has to fit on one CD
#   RAMFS has to be big enough to hold /home, /var, /etc, /dev, /tmp, /root
#

# General Setup
SRCDISK=/nfs/host1
KERNEL=$SRCDISK/boot/vmlinuz-2.2.14

# If you need kernel options other than  "root=..." and "ramdisk_size=..."
# see append in lilo.conf(5)
# Example: 
#   APPEND="aha1542=0x230"
APPEND=""

# If SRCDISK does not fit on one CD you can now decide which parts of 
# SRCDISK should not go to CD.
#
# Example to exclude /home/user1 and /home/user2
#   NOT_TO_CD="$SRCDISK/home/user1 $SRCDISK/home/user2"
# Example
#   NOT_TO_CD="$SRCDISK/home/bs/download $SRCDISK/home/bs/vmware"
NOT_TO_CD=""

# When you boot from CD parts of the CD will be copied to ram
# Here you can decide, what should not go to ram.
#
# The directories /etc /var /dev /tmp /home and /root will be
# in RAM because they have to be writable. 
#
# On CD this dirs will get different names (/etc.ro, /var.ro, ...)
# but you do not have to use those different names in NOT_TO_RAM any more !!!
#
# If you exclude files in NOT_TO_RAM, they will be copied to CD and you
# will find a symbolic link instead of the file in RAM pointing to the file
# on CD.
#
# Example
#   If you want to exclude /home/bs/bigfile and /home/bs/bigdir/
#   NOT_TO_RAM="$SRCDISK/home/bs/bigfile $SRCDISK/home/bs/bigdir"
#
NOT_TO_RAM=""

# SSHOSTKEY=yes|no
# If you are using ssh it is helpfull to have a unique ssh hostkey for
# each CD. This will be generated at burntime with SSHHOSTKEY=yes.
SSHHOSTKEY=yes

# Two Ramdisks ram1 and ram2 will be created, with the followin directories: 
#   ram1: /dev /etc /home /root /tmp
#   ram2: /var
# Both Ramdisks have the same size which is defined by RAMDISK_SIZE
#
# Example: If you want to spend 16MB for RAM Filesystems:
#   RAMDISK_SIZE=8192
RAMDISK_SIZE=2048

# Free Space for Log and Image
ERRLOG=/var/log/bootcdwrite.log
VAR=/var/spool/bootcd 

# DO_CHECK=yes|no
# To check for possible problems can take a long time.
# But it is recommended to do the checks 
DO_CHECK=yes

# BLANKING=yes|no
# If you want to rewrite a CD you have to specify BLANKING=yes
BLANKING=yes

# CD Writer Informations
CDSCSI=0,4,0
CDSPEED=2

# CD to boot from
CDDEV=/dev/hdc

# Text to Display at Boottime (see syslinux doku)
# Example: (Where you could place display.txt)
#   DISPLAY="$SRCDISK/usr/lib/bootcd/display.txt"
DISPLAY=""

# When you boot from cd you read changes from this device.
FLOPPY_RUNTIME_DEV=/dev/fd0

# The floppy will be formatted when bootcdwrite is called if you define
#   FLOPPY_CREATE_DEV="/dev/fd0". 
# If you do not want to build a floppy spezify 
#   FLOPPY_CREATE_DEV=""
FLOPPY_CREATE_DEV=""

# BOOTFLOPPY=yes|no
# If you want to boot from FLOPPY specify BOOTFLOPPY=yes. This reduces
# space on floppy used by bootcdflopcp.
BOOTFLOPPY=no

#
# If you want to boot several machines from the same cdrom, you must have
# the individual configuartion (exp: /etc/network/interfaces) on floppy.
# If one can not be mounted it is a good idea to stop booting and to wait
# for manual interaction instead of comming up with a wrong configuration.
#
BOOT_ONLY_WITH_FLOPPY=yes

#
# If CLEAN_VAR=yes then some cached files in /var will be deleted, before 
# /var will be copied to bootcd. This will minimize needed space on CD.
# At this time only the following command will be executed:
#   apt-get clean
#
# You can disable this with CLEAN_VAR=no 
CLEAN_VAR=yes

#
# FASTBOOT=yes|no
# If FASTBOOT=yes then additional images for the ramdisk will be created 
# by bootcdwrite and copied to CD. This allows faster booting,
# but needs extra space on CD
FASTBOOT=yes
