# /etc/dphys3 - configuration for dphys3[kernel|preseed|boot|root|cd|pxe] # author Neil Franklin, last modification 2006.11.16 # copyright ETH Zuerich Physics Departement, # use under either BSD or GPL license # **************************** WARNING ******************************** # this file should be chmod 600 because it contains an root password! # ------------------------------------------------------------------- # server to get our original Debian files from and later apt-get from # base URL from which all Debian stuff can be downloaded #CONF_DEBSERVER=http://ftp.debian.org/debian # ------------------------------------------------------------- # dphys3[kernel|preseed] kernel archive and configuration stuff # where we put all the stuff needed for compiling CONF_SOURCEDIR=. # ------------------------------------------------------------ # dphys3[kernel|preseed] uploading generated floppy images and # dphys3[preseed|boot|root|cd|pxe] downloading generated floppy images # upload server for compiled floppy images, where our image files go # the -u option uploads everything relative to this # /dir is the base directory for adding dists/.../*.deb and pool/.../*.deb # paralleling Debians use [dist|spool]/.../*.deb on their servers # and so should appear in the http:// space of our own install server # we upload via ssh/scp, as this is most likely available on boot servers # so this line needs to be in user@server:/directory format for scp #CONF_UPLOAD_SERVER=not-configured-user@server:/dir # make sure multiple users (group of them) can install files on package server # if this is set, chgrp directories and files to this group and chmod g+w #CONF_UPLOAD_GROUP="" # this is the directory to use, within the dists/.../disks-i386 directory # vary this for multiple sets of files (say multiple kernels or configs) # naming schemes maybe by subnets, or by kernel options, or by compiling user #CONF_DISKSVERSION=dphys3-custom # base URL from which our generated stuff can be downloaded # used for generating the URLs. to access our packages web server # the end result should parallel the scp login@server:/basedir above #CONF_OWNSERVER=http://not-configured-server/not/configured/directory # ---------------------------------------------------------- # dphys3preseed loading additional net device driver modules # what net drivers we want included in our install root floppy # net is needed to install from, to load files from # this can be left empty if needed drivers are compiled into kernel #CONF_MODULESNET="" # ------------------------------------------------------------------- # dphys3preseed fix up debconf for no questions (first install stage) # prevent unnecessary questions while installing packages # install everything with maintainers defaults, then fix up with own scripts #CONF_SILENCE_DEBCONF=yes # what keyboard layout you use, just name without path or .kmap.gz ending #CONF_KEYBD=us # ---------------------------------------------------- # dphys3preseed set up some stuff we want to influence # force use of this network interface, set it to eth0 eth1 etc # this defaults to auto which uses the first usable one # but sometimes the kernel choses an broken but existing driver #CONF_IF=auto # amount of disk to use for the swap partition, if wanted, in MBytes # set to 0 or "", will make no partition and disable its use # this defaults to off, because we use swap files around here # as they are more flexible, auto-resizable, and not relevantly slower # to autogenerate/mount/umount swapfiles install the dphys-swapfile package: # http://www.phys.ethz.ch/~franklin/Projects/dphys-swapfile/ #CONF_SWAP_SIZE=0 # -------------------------------------------------------------------- # dphys3preseed fix up debconf for no questions (second install stage) # what time zone we have here, local time settings #CONF_TIMEZONE_AREA=not-configured-area #CONF_TIMEZONE_PLACE=not-configured-place # set root password, this may be only temporary, overwrite later #CONF_PASSWORD_ROOT="" # apt config what stuff we use, this is just minimal stuff, extend later #CONF_USE_NON_FREE=no #CONF_USE_CONTRIB=no #CONF_USE_SECURITY=no # --------------------------------------------------------------------------- # dphys3preseed user scripts at end of install stages, for further automation # automagically run this script (or binary) at end of "zeroth" install stage # to run script while generating root disk, use filename like this: # CONF_END0STAGE=end0stage # *** this script will be run as root at end of "zeroth" install stage *** # / is root of the *installation* system, as we are making root floppy! # we use this to modify root disk so that we can reinstall without data loss # it prevents repartitioning and reformatting, instead deleting old system #CONF_END0STAGE="" # automagically run this script (or binary) at end of first install stage # to include script on image, use filename like this: # CONF_END1STAGE=end1stage # to download script at install time, use URL like this: # CONF_END1STAGE=http://our-admin-server/install-stuff/end1stage # *** this script will be run as root at end of first install stage *** # / is root of the *install* system, as we are still before reboot! # we use this to install our custom production kernels before the reboot # to prevent having to make debian installer compatible loading stuff #CONF_END1STAGE="" # automagically run this script (or binary) at end of second install stage # use with script filename like this: CONF_END2STAGE=end2stage # *** this script will be run as root at end of second install stage *** # / is root of the final system, as we are just short before login prompt # we use this to install our automatic package installer/updater/remover: # http://www.phys.ethz.ch/~franklin/Projects/dphys-admin/ #CONF_END2STAGE="" # -------------------------------------------------------- # dphys3[boot|root] media to install generated images onto # install floppy drive, where our generated image goes # this should be the drive on the install generating system, not on target(s) # most people can leave this as it is #CONF_FLOPPY_DRV=/dev/fd0 # ----------------------------------------------- # dphys3cd media to install generated images onto # install CD drive, where our generated .iso image goes # this should be the drive on the install generating system, not on target(s) # this line contains the drive ID and whatever options the drive needs # config for no burnproof and CD-R (no blank=fast): # CONF_CD_DRV=dev=0,0,0 # config for burnproof and CD-RW (blank=fast): # CONF_CD_DRV="-driveropts=burnfree blank=fast dev=0,0,0" #CONF_CD_DRV=dev=0,0,0 # ----------------------------------- # dphys3pxe uploading generated files # upload server for PXE, where our generated files go # the -u option uploads everything relative to this # we upload via ssh/scp, as this is most likely available on boot servers # so this line needs to be in user@server:/directory format for scp #CONF_PXE_SERVER=not-configured-user@not-configured-server:/not/configured/dir # make sure multiple users (group of them) can install files on boot server # if this is set, chgrp files to this group and chmod g+w #CONF_PXE_GROUP=""