From: grml User Date: Sat, 15 Sep 2007 14:33:20 +0000 (+0200) Subject: Update of fai-configuration and documentation X-Git-Tag: 0.0.1~70 X-Git-Url: http://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=de6d7ed3e096db257ca1434c895ff69e3b0ef481;hp=229a51dfda4d619c47fb4b0ff94d4d952f61e62a Update of fai-configuration and documentation --- diff --git a/debian/changelog b/debian/changelog index cd3a5f2..eabfa68 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -grml-live (0.1-1) unstable; urgency=low +grml-live (0.0.1) unstable; urgency=low * Initial release. diff --git a/docs/grml-live.txt b/docs/grml-live.txt index 3f14ba5..45c5278 100644 --- a/docs/grml-live.txt +++ b/docs/grml-live.txt @@ -16,9 +16,84 @@ Important! grml-live is under heavy construction and everything but ready yet. Introduction ------------ -grml-live provides the build system for creating a grml (based) live-cd. It is -based on link:http://www.informatik.uni-koeln.de/fai/[FAI] (Fully Automatic -Installation). +grml-live provides the build system for creating a grml (based) live-cd. The +build system is based on link:http://www.informatik.uni-koeln.de/fai/[FAI] +(Fully Automatic Installation). If you are familiar with FAI already it is very +easy to get a live-cd, if you don't know FAI yet don't despair: it's still very +easy. :) + +FAI uses a class based system. This gives you the flexibility to choose the +packages you would like to include on your very own live-cd without having to +deal with all the details in the core of the system. + +How to get your own live-cd - the easy, fast and simple way +----------------------------------------------------------- + +To get a small, Debian-stable and grml based live-cd: + + # TARGET="/grml/chroot/grml_uncompressed" ; mkdir -p $TARGET + # fai -v -C /etc/grml/fai -cGRML dirinstall $TARGET + # mksquashfs $TARGET/* /grml/chroot/grml_cd/live/grml.squashfs -noappend + # cd /grml/chroot/grml_cd/ + # mkisofs -V "my personal grml" -l -r -J -no-emul-boot -boot-load-size 4 \ + -boot-info-table -c boot/isolinux/boot.cat \ + -b boot/isolinux/isolinux.bin -o /grml/grml.iso . + +(TODO: provide the contenct of /grml/chroot/grml_cd through the package +grml-live, in the meanwhil get the content from a current grml-ISO) + +Files +----- + +Notice that grml-live ships FAI configuration files that do not use the same +namespace as the FAI packages itself. This ensures that grml-live does not +clash with your usual FAI configuration, so instead of /etc/fai/fai.conf +(package fai-client) grml uses /etc/grml/fai/fai.conf instead. For more details +see below. To get an idea how another configuration or example files could look +like check out /usr/share/doc/fai-doc/examples/simple/ (provided by Debian package +fai-doc). /usr/share/doc/fai-doc/fai-guide.html/ch-config.html also provides +documentation regarding configuration possibilities. + + /etc/grml/fai/fai.conf + +Main configuration file which specifies where all the configuration files and +scripts for FAI/grml-live can be found. By default it is +FAI_CONFIGDIR=/etc/grml/fai/config, a directory shipped by grml-live +out-of-the-box so you shouldn't have to configure anything in this file. + + /etc/grml/fai/config/ + +The main directory for configuration of FAI/grml-live. More details below. + + /etc/grml/fai/config/class/ + +This directory contains files which specify main configuration variables for the +FAI classes. + + /etc/grml/fai/config/debconf/ + +This directory provides the files for presseding/configuration of debconf +through files. + + /etc/grml/fai/config/hooks/ + +This directory provides files for customizing the build process through hooks. +Hooks are user defined programs or scripts, which are called during the +installation process. + + /etc/grml/fai/config/package_config/ + +File with lists of software packages to be installed or removed. The different +classes describe what should find its way to your ISO. When running 'fai -v +-cGRML dirinstall ...' only the files from the directory GRML/ will be taken, if +you use 'fai -v -cGRML,FOOBAR dirinstall ...' then the files of GRML/ **plus** +the files from FOOBAR/ will be taken. So just create a new class to adjust it to +your needs. Please notice that the directory GRML contains a package list +defining a minimum but still reasonable package configuration. + + /etc/grml/fai/config/scripts/ + +Scripts for customising the ISO within build process. Bugs ---- diff --git a/etc/grml/fai/config/debconf/FAIBASE b/etc/grml/fai/config/debconf/FAIBASE deleted file mode 100644 index 6d2e9dd..0000000 --- a/etc/grml/fai/config/debconf/FAIBASE +++ /dev/null @@ -1,9 +0,0 @@ -passwd passwd/shadow boolean true -exim4-config exim4/dc_eximconfig_configtype select local delivery only; not on a network -locales locales/default_environment_locale select en_US.UTF-8 -locales locales/locales_to_be_generated multiselect en_US.UTF-8 UTF-8 -xserver-xorg xserver-xorg/config/inputdevice/keyboard/model string pc105 -xserver-xorg xserver-xorg/autodetect_monitor boolean false -xserver-xorg xserver-xorg/autodetect_keyboard boolean true -xserver-xorg xserver-xorg/autodetect_mouse boolean true -xserver-xorg xserver-xorg/autodetect_video_card boolean true diff --git a/etc/grml/fai/config/debconf/FAISERVER b/etc/grml/fai/config/debconf/FAISERVER deleted file mode 100644 index be6e8b4..0000000 --- a/etc/grml/fai/config/debconf/FAISERVER +++ /dev/null @@ -1,2 +0,0 @@ -# Should the server be started by inetd? -tftpd-hpa tftpd-hpa/use_inetd boolean false diff --git a/etc/grml/fai/config/debconf/GERMAN b/etc/grml/fai/config/debconf/GERMAN deleted file mode 100644 index 97ac8e9..0000000 --- a/etc/grml/fai/config/debconf/GERMAN +++ /dev/null @@ -1,3 +0,0 @@ -locales locales/default_environment_locale select de_DE.UTF-8 -locales locales/locales_to_be_generated multiselect de_DE.UTF-8 UTF-8 -xserver-xorg xserver-xorg/config/inputdevice/keyboard/layout string de diff --git a/etc/grml/fai/config/debconf/GRML b/etc/grml/fai/config/debconf/GRML new file mode 100644 index 0000000..93f5632 --- /dev/null +++ b/etc/grml/fai/config/debconf/GRML @@ -0,0 +1,3 @@ +passwd passwd/shadow boolean true +locales locales/default_environment_locale select en_US.UTF-8 +locales locales/locales_to_be_generated multiselect en_US.UTF-8 UTF-8 diff --git a/etc/grml/fai/config/disk_config/FAIBASE b/etc/grml/fai/config/disk_config/FAIBASE deleted file mode 100644 index 55d752c..0000000 --- a/etc/grml/fai/config/disk_config/FAIBASE +++ /dev/null @@ -1,13 +0,0 @@ -# generic disk configuration for one small disk -# disk size from 500Mb up to what you can buy today -# -# [mount options] [;extra options] - -disk_config disk1 -primary / 150-300 rw,errors=remount-ro ; -c -j ext3 -logical swap 40-500 rw -logical /var 90-1000 rw ; -m 5 -j ext3 -logical /tmp 50-1000 rw ; -m 0 -j ext3 -logical /usr 200-4000 rw ; -j ext3 -logical /home 50- rw,nosuid ; -m 1 -j ext3 -# logical /home preserve9 rw,nosuid ; -m 1 -j ext3 diff --git a/etc/grml/fai/config/disk_config/FAISERVER b/etc/grml/fai/config/disk_config/FAISERVER deleted file mode 100644 index f2666d4..0000000 --- a/etc/grml/fai/config/disk_config/FAISERVER +++ /dev/null @@ -1,13 +0,0 @@ -# generic disk configuration for a fai isntall server -# -# [mount options] [;extra options] - -disk_config disk1 -primary / 150-300 rw,errors=remount-ro ; -c -j ext3 -logical swap 40-500 rw -logical /var 700-1000 rw ; -m 5 -j ext3 -logical /tmp 50-1000 rw ; -m 0 -j ext3 -logical /usr 500-4000 rw ; -j ext3 -logical /home 50-1000 rw,nosuid ; -m 1 -j ext3 -# logical /home preserve9 rw,nosuid ; -m 1 -j ext3 -logical /srv 300- rw ; -m 1 -j ext3 diff --git a/etc/grml/fai/config/files/boot/grub/menu.lst/GRUB b/etc/grml/fai/config/files/boot/grub/menu.lst/GRUB deleted file mode 100644 index 18ce0a2..0000000 --- a/etc/grml/fai/config/files/boot/grub/menu.lst/GRUB +++ /dev/null @@ -1,43 +0,0 @@ -# -timeout 5 -default 0 -color cyan/blue white/blue - -### BEGIN AUTOMAGIC KERNELS LIST -## lines between the AUTOMAGIC KERNELS LIST markers will be modified -## by the debian update-grub script except for the default optons below - -## DO NOT UNCOMMENT THEM, Just edit them to your needs - -## ## Start Default Options ## -## default kernel options -# kopt=root=#ROOT_PARTITION# ro - -## default grub root device -## e.g. groot=(hd0,0) -# groot=#GROOT# - -## should update-grub create alternative boot options -## e.g. alternative=true -## alternative=false -# alternative=true - -## should update-grub lock alternative boot options -## e.g. lockalternative=true -## lockalternative=false -# lockalternative=true - -## altoption boot targets option -## multiple altoptions lines are allowed -## e.g. altoptions=(extra menu suffix) extra boot options -## altoptions=(recovery mode) single -# altoptions=(recovery mode) single - -## add memtest86 if found -# memtest86=true - -## ## End Default Options ## - -### END DEBIAN AUTOMAGIC KERNELS LIST - - diff --git a/etc/grml/fai/config/files/boot/grub/menu.lst/postinst b/etc/grml/fai/config/files/boot/grub/menu.lst/postinst deleted file mode 100755 index c688770..0000000 --- a/etc/grml/fai/config/files/boot/grub/menu.lst/postinst +++ /dev/null @@ -1,20 +0,0 @@ -#! /bin/bash - -error=0 ; trap "error=$((error|1))" ERR - -set -a - -# during softupdate use this file -[ -r $target/var/log/fai/disk_var.sh ] && . $target/var/log/fai/disk_var.sh - -# if class NOMBR is defined, write boot loader into root partition, not into mbr -ifclass NOMBR && BOOT_DEVICE=$BOOT_PARTITION - -grub-install --no-floppy --root-directory=$target $BOOT_DEVICE -GROOT=$(device2grub $BOOT_PARTITION) -perl -pi -e 's/#(\w+)#/$ENV{$1}/' $2 -$ROOTCMD /usr/sbin/update-grub -echo "Grub installed on $BOOT_DEVICE on $GROOT" - -exit $error - diff --git a/etc/grml/fai/config/files/etc/X11/XF86Config-4/DEMO b/etc/grml/fai/config/files/etc/X11/XF86Config-4/DEMO deleted file mode 100644 index ed02b3b..0000000 --- a/etc/grml/fai/config/files/etc/X11/XF86Config-4/DEMO +++ /dev/null @@ -1,121 +0,0 @@ -# XF86Config-4 (XFree86 X Window System server configuration file) -# -# This file was generated by dexconf, the Debian X Configuration tool, using -# values from the debconf database. -# -# Edit this file with caution, and see the XF86Config-4 manual page. -# (Type "man XF86Config-4" at the shell prompt.) -# -# This file is automatically updated on xserver-xfree86 package upgrades *only* -# if it has not been modified since the last upgrade of the xserver-xfree86 -# package. -# -# If you have edited this file but would like it to be automatically updated -# again, run the following commands as root: -# -# cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom -# md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum -# dpkg-reconfigure xserver-xfree86 -Section "Files" - FontPath "unix/:7100" # local font server - # if the local font server has problems, we can fall back on these - FontPath "/usr/lib/X11/fonts/misc" - FontPath "/usr/lib/X11/fonts/cyrillic" - FontPath "/usr/lib/X11/fonts/100dpi/:unscaled" - FontPath "/usr/lib/X11/fonts/75dpi/:unscaled" - FontPath "/usr/lib/X11/fonts/Type1" - FontPath "/usr/lib/X11/fonts/CID" - FontPath "/usr/lib/X11/fonts/Speedo" - FontPath "/usr/lib/X11/fonts/100dpi" - FontPath "/usr/lib/X11/fonts/75dpi" -EndSection -Section "Module" - Load "GLcore" - Load "bitmap" - Load "dbe" - Load "ddc" - Load "dri" - Load "extmod" - Load "freetype" - Load "glx" - Load "int10" - Load "record" - Load "speedo" - Load "type1" - Load "vbe" -EndSection -Section "InputDevice" - Identifier "Generic Keyboard" - Driver "keyboard" - Option "CoreKeyboard" - Option "XkbRules" "xfree86" - Option "XkbModel" "pc105" - Option "XkbLayout" "us" -EndSection -Section "InputDevice" - Identifier "Configured Mouse" - Driver "mouse" - Option "CorePointer" - Option "Device" "/dev/psaux" - Option "Protocol" "PS/2" - Option "ZAxisMapping" "4 5" -EndSection - -Section "InputDevice" - Identifier "Generic Mouse" - Driver "mouse" - Option "SendCoreEvents" "true" - Option "Device" "/dev/input/mice" - Option "Protocol" "ImPS/2" - Option "ZAxisMapping" "4 5" -EndSection -Section "Device" - Identifier "Generic Video Card" - Driver "%%VIDEODRV%%" -EndSection -Section "Monitor" - Identifier "Generic Monitor" - HorizSync 30-110 - VertRefresh 50-160 - Option "DPMS" -EndSection -Section "Screen" - Identifier "Default Screen" - Device "Generic Video Card" - Monitor "Generic Monitor" - DefaultDepth 24 - SubSection "Display" - Depth 1 - Modes "1024x768" "800x600" "640x480" - EndSubSection - SubSection "Display" - Depth 4 - Modes "1024x768" "800x600" "640x480" - EndSubSection - SubSection "Display" - Depth 8 - Modes "1024x768" "800x600" "640x480" - EndSubSection - SubSection "Display" - Depth 15 - Modes "1024x768" "800x600" "640x480" - EndSubSection - SubSection "Display" - Depth 16 - Modes "1024x768" "800x600" "640x480" - EndSubSection - SubSection "Display" - Depth 24 - Modes "1024x768" "800x600" "640x480" - EndSubSection -EndSection -Section "ServerLayout" - Identifier "Default Layout" - Screen "Default Screen" - InputDevice "Generic Keyboard" - InputDevice "Configured Mouse" - InputDevice "Generic Mouse" -EndSection -Section "DRI" - Mode 0666 -EndSection diff --git a/etc/grml/fai/config/files/etc/apache2/conf.d/FAISERVER b/etc/grml/fai/config/files/etc/apache2/conf.d/FAISERVER deleted file mode 100644 index a648620..0000000 --- a/etc/grml/fai/config/files/etc/apache2/conf.d/FAISERVER +++ /dev/null @@ -1,24 +0,0 @@ - - AllowOverride None - Options None - Order deny,allow - Deny from all - Allow from 192.168.1 - - - - AllowOverride None - Options None - Order deny,allow -# Deny from all - Allow from all - - - - AllowOverride None - Options None - Order deny,allow -# Deny from all - Allow from all - - diff --git a/etc/grml/fai/config/files/etc/apt-proxy/apt-proxy-v2.conf/FAISERVER b/etc/grml/fai/config/files/etc/apt-proxy/apt-proxy-v2.conf/FAISERVER deleted file mode 100644 index 73f9881..0000000 --- a/etc/grml/fai/config/files/etc/apt-proxy/apt-proxy-v2.conf/FAISERVER +++ /dev/null @@ -1,151 +0,0 @@ -[DEFAULT] -;; All times are in seconds, but you can add a suffix -;; for minutes(m), hours(h) or days(d) - -;; Server IP to listen on -;address = 192.168.0.254 - -;; Server port to listen on -port = 9999 - -;; Control files (Packages/Sources/Contents) refresh rate -;; -;; Minimum time between attempts to refresh a file -min_refresh_delay = 1h - -;; Minimum age of a file before attempting an update (NOT YET IMPLEMENTED) -;min_age = 23h - -;; Uncomment to make apt-proxy continue downloading even if all -;; clients disconnect. This is probably not a good idea on a -;; dial up line. -;; complete_clientless_downloads = 1 - -;; Debugging settings. -;; for all debug information use this: -;; debug = all:9 -debug = all:4 db:0 - -;; Debugging remote python console -;; Do not enable in an untrusted environment -;telnet_port = 9998 -;telnet_user = apt-proxy -;telnet_password = secret - -;; Network timeout when retrieving from backend servers -timeout = 15 - -;; Cache directory for apt-proxy -cache_dir = /var/cache/apt-proxy - -;; Use passive FTP? (default=on) -;passive_ftp = on - -;; Use HTTP proxy? -;http_proxy = host:port - -;; Enable HTTP pipelining within apt-proxy (for test purposes) -;disable_pipelining=0 - -;;-------------------------------------------------------------- -;; Cache housekeeping - -;; Time to perform periodic housekeeping: -;; - delete files that have not been accessed in max_age -;; - scan cache directories and update internal tables -cleanup_freq = 1d - -;; Maximum age of files before deletion from the cache (seconds) -max_age = 120d - -;; Maximum number of versions of a .deb to keep per distribution -max_versions = 3 - -;; Add HTTP backends dynamicaly if not already defined? (default=on) -;dynamic_backends = on - -;;--------------------------------------------------------------- -;;--------------------------------------------------------------- -;; Backend servers -;; -;; Place each server in its own [section] - -[debian] -;; The main Debian archive -;; You can override the default timeout like this: -;timeout = 30 - -;; Rsync server used to rsync the Packages file (NOT YET IMPLEMENTED) -;;rsyncpackages = rsync://ftp.de.debian.org/debian - -;; Backend servers, in order of preference -backends = - http://ftp.de.debian.org/debian - http://ftp2.de.debian.org/debian - http://ftp.us.debian.org/debian - ftp://ftp.uk.debian.org/debian - -[debian-amd64] -backends = - http://ftp.de.debian.org/debian-amd64/debian - http://debian.csail.mit.edu/debian-amd64/debian - http://ftp2.de.debian.org/debian-amd64/debian - http://mirror.pacific.net.au/linux/debian-amd64/debian - -[debian-non-US] -;; Debian debian-non-US archive -;timeout will be the global value -backends = - http://ftp.de.debian.org/debian-non-US - http://ftp.uk.debian.org/debian-non-US - ftp://ftp.uk.debian.org/debian - -[security] -;; Debian security archive -backends = - http://ftp2.de.debian.org/debian-security - ftp://security.debian.org/debian-security - -[ubuntu] -;; Ubuntu archive -backends = http://archive.ubuntu.com/ubuntu - -[ubuntu-security] -;; Ubuntu security updates -backends = http://security.ubuntu.com/ubuntu - -;[openoffice] -;; OpenOffice.org packages -;backends = -; http://ftp.freenet.de/pub/debian-openoffice -; http://ftp.sh.cvut.cz/MIRRORS/OpenOffice.deb -; http://borft.student.utwente.nl/debian - -;[apt-proxy] -;; Apt-proxy new versions -;backends = http://apt-proxy.sourceforge.net/apt-proxy - -;[backports.org] -;; backports.org -;backends = http://backports.org/debian - -;[blackdown] -;; Blackdown Java -;backends = http://ftp.gwdg.de/pub/languages/java/linux/debian - - -;[debian-people] -;; people.debian.org -;backends = http://people.debian.org - -;[emdebian] -;; The Emdebian project -;backends = http://emdebian.sourceforge.net/emdebian - -;[rsync] -;; An example using an rsync server. This is not recommended -;; unless http is not available, becuause rsync is only more -;; efficient for transferring uncompressed files and puts much -;; more overhead on the server. See the rsyncpacakges parameter -;; for a way of rsyncing just the Packages files. -;backends = rsync://ftp.uk.debian.org/debian diff --git a/etc/grml/fai/config/files/etc/default/tftpd-hpa/FAISERVER b/etc/grml/fai/config/files/etc/default/tftpd-hpa/FAISERVER deleted file mode 100644 index f432436..0000000 --- a/etc/grml/fai/config/files/etc/default/tftpd-hpa/FAISERVER +++ /dev/null @@ -1,3 +0,0 @@ -#Defaults for tftpd-hpa -RUN_DAEMON="yes" -OPTIONS="-l -s /srv/tftp" diff --git a/etc/grml/fai/config/files/etc/dhcp3/dhcpd.conf/FAISERVER b/etc/grml/fai/config/files/etc/dhcp3/dhcpd.conf/FAISERVER deleted file mode 100644 index ae5fc31..0000000 --- a/etc/grml/fai/config/files/etc/dhcp3/dhcpd.conf/FAISERVER +++ /dev/null @@ -1,49 +0,0 @@ -# dhcpd.conf for a fai install server -# replace faiserver with the name of your install server - -deny unknown-clients; -option dhcp-max-message-size 2048; -use-host-decl-names on; -#always-reply-rfc1048 on; - -subnet 192.168.1.0 netmask 255.255.255.0 { - option routers 192.168.1.250; - option domain-name "fai"; - option domain-name-servers 192.168.1.250; - option time-servers faiserver; - option ntp-servers faiserver; - server-name faiserver; - next-server faiserver; - filename "fai/pxelinux.0"; -} - -# generate more lines with: - -# perl -e 'for (1..25) {printf "host atom%02s {hardware ethernet XXX:$_;fixed-address atom%02s;}\n",$_,$_;}' - -# replace 1:2:3:4:5:XX with the hardware addresses of your clients -host atom01 {hardware ethernet 1:2:3:4:5:1;fixed-address atom01;} -host atom02 {hardware ethernet 1:2:3:4:5:2;fixed-address atom02;} -host atom03 {hardware ethernet 1:2:3:4:5:3;fixed-address atom03;} -host atom04 {hardware ethernet 1:2:3:4:5:4;fixed-address atom04;} -host atom05 {hardware ethernet 1:2:3:4:5:5;fixed-address atom05;} -host atom06 {hardware ethernet 1:2:3:4:5:6;fixed-address atom06;} -host atom07 {hardware ethernet 1:2:3:4:5:7;fixed-address atom07;} -host atom08 {hardware ethernet 1:2:3:4:5:8;fixed-address atom08;} -host atom09 {hardware ethernet 1:2:3:4:5:9;fixed-address atom09;} -host atom10 {hardware ethernet 1:2:3:4:5:10;fixed-address atom10;} -host atom11 {hardware ethernet 1:2:3:4:5:11;fixed-address atom11;} -host atom12 {hardware ethernet 1:2:3:4:5:12;fixed-address atom12;} -host atom13 {hardware ethernet 1:2:3:4:5:13;fixed-address atom13;} -host atom14 {hardware ethernet 1:2:3:4:5:14;fixed-address atom14;} -host atom15 {hardware ethernet 1:2:3:4:5:15;fixed-address atom15;} -host atom16 {hardware ethernet 1:2:3:4:5:16;fixed-address atom16;} -host atom17 {hardware ethernet 1:2:3:4:5:17;fixed-address atom17;} -host atom18 {hardware ethernet 1:2:3:4:5:18;fixed-address atom18;} -host atom19 {hardware ethernet 1:2:3:4:5:19;fixed-address atom19;} -host atom20 {hardware ethernet 1:2:3:4:5:20;fixed-address atom20;} -host atom21 {hardware ethernet 1:2:3:4:5:21;fixed-address atom21;} -host atom22 {hardware ethernet 1:2:3:4:5:22;fixed-address atom22;} -host atom23 {hardware ethernet 1:2:3:4:5:23;fixed-address atom23;} -host atom24 {hardware ethernet 1:2:3:4:5:24;fixed-address atom24;} -host atom25 {hardware ethernet 1:2:3:4:5:25;fixed-address atom25;} diff --git a/etc/grml/fai/config/files/etc/fai/apt/sources.list/FAISERVER b/etc/grml/fai/config/files/etc/fai/apt/sources.list/FAISERVER deleted file mode 100644 index 82e18e3..0000000 --- a/etc/grml/fai/config/files/etc/fai/apt/sources.list/FAISERVER +++ /dev/null @@ -1,8 +0,0 @@ -# via local partitial mirror (was mirror on fai-cd) -deb http://faiserver/debian etch main -#deb http://faiserver/debian etch/updates main -#deb http://faiserver/debian-security etch/updates main contrib non-free - -# via apt-proxy -deb http://faiserver:9999/debian etch main contrib non-free -deb http://faiserver:9999/security etch/updates main contrib non-free diff --git a/etc/grml/fai/config/files/etc/fai/fai.conf/FAISERVER b/etc/grml/fai/config/files/etc/fai/fai.conf/FAISERVER deleted file mode 100644 index 6760d92..0000000 --- a/etc/grml/fai/config/files/etc/fai/fai.conf/FAISERVER +++ /dev/null @@ -1,35 +0,0 @@ -# $Id: fai.conf 3770 2006-08-07 12:08:51Z lange $ - -# /etc/fai/fai.conf -- configuration for FAI (Fully Automatic Installation) - -# Access to Debian mirror via NFS mounted directory -# If FAI_DEBMIRROR is defined, install clients mount it to $MNTPOINT -#FAI_DEBMIRROR=yournfs debianmirror:/path/to/debianmirror - -# LOGUSER: an account on the install server which saves all log-files -# and which can change the kernel that is booted via network. -# Configure .rhosts for this account and PAM, so that root can log in -# from all install clients without password. This account should have -# write permissions for /srv/tftp/fai. For example, you can use write -# permissions for the group linuxadm. chgrp linuxadm /srv/tftp/fai;chmod -# g+w /srv/tftp/fai. If the variable is undefined, this feature is disabled. -# Define it, to enable it, eg. LOGUSER=fai -LOGUSER=fai - -# set protocol type for saving logs. Values: ssh, rsh, ftp -FAI_LOGPROTO=rsh - -# the configuration space on the install server -FAI_CONFIGDIR=/srv/fai/config - -# how to access the fai config space -# default if undefined here: nfs://`hostname`/$FAI_CONFIGDIR -#FAI_CONFIG_SRC=nfs://yourservername$FAI_CONFIGDIR - -# the following variables are read only for most users - -# mount point where the mirror will be mounted -MNTPOINT=/media/mirror - -# the local configuration directory on the install client -FAI=/var/lib/fai/config diff --git a/etc/grml/fai/config/files/etc/fai/make-fai-nfsroot.conf/FAISERVER b/etc/grml/fai/config/files/etc/fai/make-fai-nfsroot.conf/FAISERVER deleted file mode 100644 index 65e9aa5..0000000 --- a/etc/grml/fai/config/files/etc/fai/make-fai-nfsroot.conf/FAISERVER +++ /dev/null @@ -1,24 +0,0 @@ -# these variables are only used by make-fai-nfsroot(8) -# here you can use also variables defined in fai.conf - -# directory on the install server where the nfsroot for FAI is -# created, approx size: 250MB, also defined in bootptab or dhcp.conf -NFSROOT=/srv/fai/nfsroot - -# Add a line for mirrorhost and installserver when DNS is not available -# on the clients. This line(s) will be added to $nfsroot/etc/hosts. -NFSROOT_ETC_HOSTS="192.168.1.250 faiserver" - -FAI_DEBOOTSTRAP="etch http://faiserver/debian" - -# the encrypted (with md5 or crypt) root password on all install clients during -# installation process; used when log in via ssh; default pw is: fai -FAI_ROOTPW='$1$kBnWcO.E$djxB128U7dMkrltJHPf6d1' - -# location of a identity.pub file; this user can log to the install -# clients in as root without a password; only useful with FAI_FLAGS="sshd" -#SSH_IDENTITY=/home/admin/.ssh/identity.pub -# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# following lines should be read only for most of you - -FAI_DEBOOTSTRAP_OPTS="--exclude=dhcp-client,info" diff --git a/etc/grml/fai/config/files/etc/fai/menu.lst/FAISERVER b/etc/grml/fai/config/files/etc/fai/menu.lst/FAISERVER deleted file mode 100644 index 3a2d232..0000000 --- a/etc/grml/fai/config/files/etc/fai/menu.lst/FAISERVER +++ /dev/null @@ -1,50 +0,0 @@ -# grub menu.lst for fai-cd - -# Boot automatically after some secs. -# timeout 15 - -color light-gray/black light-gray/red -default 6 - -title | -root (cd) -title | -title +------------------------------------------------------+ -root (cd) -title | FAI-CD (c) 2005, Thomas Lange, lange@debian.org | -root (cd) -title | _VERSIONSTRING_ | -root (cd) -title +------------------------------------------------------+ -root (cd) -title | -root (cd) -title | - -title Fully Automatic Installation - demohost (pw: installme) -password installme -#root (cd) -kernel /boot/vmlinuz root=/dev/ram0 init=/linuxrc FAI_FLAGS="verbose,createvt,syslogd" FAI_ACTION=install ip=192.168.1.250::::faiserver::off rw -initrd /boot/initrd.img - -title Fully Automatic Installation with GNOME (pw: installme) -password installme -root (cd) -kernel /boot/vmlinuz root=/dev/ram0 init=/linuxrc FAI_FLAGS="verbose,createvt,syslogd" FAI_ACTION=install ip=192.168.1.1::::gnomehost::off rw -initrd /boot/initrd.img - -title Fully Automatic Installation - faiserver (pw: installme) -password installme -#root (cd) -kernel /boot/vmlinuz root=/dev/ram0 init=/linuxrc FAI_FLAGS="verbose,createvt,syslogd" FAI_ACTION=install ip=192.168.1.250::192.168.1.254:255.255.255.0:faiserver::off rw -initrd /boot/initrd.img - -title FAI rescue system, no installation -root (cd) -kernel /boot/vmlinuz root=/dev/ram0 init=/linuxrc FAI_FLAGS="verbose,syslogd,createvt" FAI_ACTION=sysinfo ip=192.168.1.1::::demohost::off rw -initrd /boot/initrd.img - -#title Boot vmlinuz from hda1 -#root (hd0,0) -#kernel /vmlinuz root=/dev/hda1 -#initrd /initrd.img diff --git a/etc/grml/fai/config/files/etc/kernel-img.conf/DEFAULT b/etc/grml/fai/config/files/etc/kernel-img.conf/DEFAULT deleted file mode 100644 index 27999ba..0000000 --- a/etc/grml/fai/config/files/etc/kernel-img.conf/DEFAULT +++ /dev/null @@ -1,5 +0,0 @@ -do_symlinks = Yes -do_initrd = Yes -silent_modules=yes -clobber_modules=yes -do_boot_enable=no diff --git a/etc/grml/fai/config/files/etc/motd/FAIBASE b/etc/grml/fai/config/files/etc/motd/FAIBASE deleted file mode 100644 index 9f8fed3..0000000 --- a/etc/grml/fai/config/files/etc/motd/FAIBASE +++ /dev/null @@ -1,4 +0,0 @@ - - -Plan your installation, and FAI installs your plan. - diff --git a/etc/grml/fai/config/files/etc/rc2.d/S99fai-setup/FAISERVER b/etc/grml/fai/config/files/etc/rc2.d/S99fai-setup/FAISERVER deleted file mode 100755 index 2d1568f..0000000 --- a/etc/grml/fai/config/files/etc/rc2.d/S99fai-setup/FAISERVER +++ /dev/null @@ -1,29 +0,0 @@ -#! /bin/bash - -# setup script that is only run once at boot time - -echo "Creating the nfsroot for FAI." - -. /etc/fai/fai.conf - -if [ ! -d "$FAI_CONFIGDIR/class" ]; then - mkdir -p $FAI_CONFIGDIR - cp -a /usr/share/doc/fai-doc/examples/simple/* $FAI_CONFIGDIR -fi - -# setup network -dhclient eth0 # connection to the outside world (hopefully) -ifconfig eth0:1 192.168.1.250 # (fixed address of faiserver) -/etc/init.d/nscd restart -/etc/init.d/apache2 restart -/etc/init.d/apt-proxy restart - -fai-setup -v 2>&1 | tee /var/log/fai-setup.log - -# create default pxelinux boot configuration (boot from local disk) -fai-chboot -o default - -echo "Log files are saved to /var/log/fai-setup.log" - -# remove me -rm $0 diff --git a/etc/grml/fai/config/hooks/instsoft.FAIBASE b/etc/grml/fai/config/hooks/instsoft.FAIBASE deleted file mode 100755 index 123cbe5..0000000 --- a/etc/grml/fai/config/hooks/instsoft.FAIBASE +++ /dev/null @@ -1,3 +0,0 @@ -#! /bin/bash - -[ -s $target/etc/kernel-img.conf ] || fcopy -Bi /etc/kernel-img.conf