[Fai-commit] r4383 - in people/lazyboy/rhel-install-fixes_3.1.8/examples: . rhel-install-demo rhel-install-demo/class rhel-install-demo/debconf rhel-install-demo/disk_config rhel-install-demo/files rhel-install-demo/files/boot rhel-install-demo/files/boot/grub rhel-install-demo/files/boot/grub/menu.lst rhel-install-demo/files/etc rhel-install-demo/files/etc/X11 rhel-install-demo/files/etc/X11/XF86Config-4 rhel-install-demo/files/etc/apache2 rhel-install-demo/files/etc/apache2/conf.d rhel-install-demo/files/etc/apt-proxy rhel-install-demo/files/etc/apt-proxy/apt-proxy-v2.conf rhel-install-demo/files/etc/default rhel-install-demo/files/etc/default/tftpd-hpa rhel-install-demo/files/etc/dhcp3 rhel-install-demo/files/etc/dhcp3/dhcpd.conf rhel-install-demo/files/etc/fai rhel-install-demo/files/etc/fai/apt rhel-install-demo/files/etc/fai/apt/sources.list rhel-install-demo/files/etc/fai/fai.conf rhel-install-demo/files/etc/fai/make-fai-nfsroot.conf rhel-install-demo/files/etc/fai/menu.lst rhel-install-demo/files/etc/fstab rhel-install-demo/files/etc/kernel-img.conf rhel-install-demo/files/etc/motd rhel-install-demo/files/etc/rc2.d rhel-install-demo/files/etc/rc2.d/S99fai-setup rhel-install-demo/files/etc/selinux rhel-install-demo/files/etc/selinux/config rhel-install-demo/files/etc/sysconfig rhel-install-demo/files/etc/sysconfig/network rhel-install-demo/files/etc/yum.repos.d rhel-install-demo/files/etc/yum.repos.d/rhel5-vt.repo rhel-install-demo/files/etc/yum.repos.d/rhel5.repo rhel-install-demo/files/opt rhel-install-demo/files/opt/apache-tomcat-6.0.13 rhel-install-demo/files/opt/apache-tomcat-6.0.13/conf rhel-install-demo/files/opt/apache-tomcat-6.0.13/conf/tomcat-users.xml rhel-install-demo/files/var rhel-install-demo/files/var/www rhel-install-demo/files/var/www/html rhel-install-demo/files/var/www/html/index.html rhel-install-demo/files/var/www/html/test.php rhel-install-demo/hooks rhel-install-demo/package_config rhel-install-demo/scripts rhel-install-demo/scripts/AMD64 rhel-install-demo/scripts/DEMO rhel-install-demo/scripts/FAIBASE rhel-install-demo/scripts/FAISERVER rhel-install-demo/scripts/GRUB rhel-install-demo/scripts/LAST rhel-install-demo/scripts/LILO rhel-install-demo/scripts/RHEL-DEMO-COMMON rhel-install-demo/scripts/RHEL-DEMO-DBSERVER rhel-install-demo/scripts/RHEL-DEMO-WEBSERVER rhel-install-demo/scripts/XENU

lazyboy-guest at alioth.debian.org lazyboy-guest at alioth.debian.org
Thu Jul 5 16:43:41 UTC 2007


Author: lazyboy-guest
Date: 2007-07-05 16:43:41 +0000 (Thu, 05 Jul 2007)
New Revision: 4383

Added:
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/basefiles/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/10-base-classes
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/20-hwdetect.source
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/50-host-classes
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/DEBUG.var
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/DIST-RHEL_5.var
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/FAIBASE.var
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/GERMAN.var
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/debconf/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/debconf/FAIBASE
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/debconf/FAISERVER
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/debconf/GERMAN
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/disk_config/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/disk_config/FAIBASE
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/disk_config/FAISERVER
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/boot/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/boot/grub/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/boot/grub/menu.lst/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/boot/grub/menu.lst/GRUB
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/boot/grub/menu.lst/postinst
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/X11/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/X11/XF86Config-4/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/X11/XF86Config-4/DEMO
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/apache2/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/apache2/conf.d/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/apache2/conf.d/FAISERVER
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/apt-proxy/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/apt-proxy/apt-proxy-v2.conf/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/apt-proxy/apt-proxy-v2.conf/FAISERVER
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/default/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/default/tftpd-hpa/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/default/tftpd-hpa/FAISERVER
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/dhcp3/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/dhcp3/dhcpd.conf/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/dhcp3/dhcpd.conf/FAISERVER
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/fai/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/fai/apt/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/fai/apt/sources.list/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/fai/apt/sources.list/FAISERVER
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/fai/fai.conf/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/fai/fai.conf/FAISERVER
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/fai/make-fai-nfsroot.conf/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/fai/make-fai-nfsroot.conf/FAISERVER
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/fai/menu.lst/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/fai/menu.lst/FAISERVER
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/fstab/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/fstab/RHEL-DEMO-COMMON
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/kernel-img.conf/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/kernel-img.conf/DEFAULT
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/motd/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/motd/FAIBASE
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/rc2.d/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/rc2.d/S99fai-setup/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/rc2.d/S99fai-setup/FAISERVER
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/selinux/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/selinux/config/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/selinux/config/RHEL-DEMO-COMMON
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/sysconfig/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/sysconfig/network/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/sysconfig/network/RHEL-DEMO-COMMON
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/yum.repos.d/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/yum.repos.d/rhel5-vt.repo/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/yum.repos.d/rhel5-vt.repo/DIST-RHEL_5
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/yum.repos.d/rhel5.repo/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/yum.repos.d/rhel5.repo/DIST-RHEL_5
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/opt/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/opt/apache-tomcat-6.0.13/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/opt/apache-tomcat-6.0.13/conf/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/opt/apache-tomcat-6.0.13/conf/tomcat-users.xml/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/opt/apache-tomcat-6.0.13/conf/tomcat-users.xml/RHEL-DEMO-WEBSERVER
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/var/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/var/www/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/var/www/html/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/var/www/html/index.html/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/var/www/html/index.html/RHEL-DEMO-WEBSERVER
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/var/www/html/test.php/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/var/www/html/test.php/RHEL-DEMO-WEBSERVER
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/debconf.DIST-RHEL_5
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/finish.DIST-RHEL_5
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/instsoft.FAIBASE
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/instsoft.XENU
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/partition.XENU
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/prepareapt.DEFAULT
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/savelog.LAST.source
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/updatebase.DIST-RHEL_5
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/DEMO
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/DIST-DEBIAN_DEFAULT
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/DIST-DEBIAN_FAIBASE
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/FAIBASE
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/FAISERVER
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/GERMAN
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/GNOME
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/RHEL-DEMO-COMMON
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/RHEL-DEMO-DBSERVER
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/RHEL-DEMO-NAMESERVER
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/RHEL-DEMO-WEBSERVER
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/RHEL-DEMO-WEBSERVER_REMOVE
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/XENU
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/XORG
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/AMD64/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/AMD64/99-discover-bug
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/DEMO/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/DEMO/10-misc
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/DEMO/30-demo
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAIBASE/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAIBASE/10-misc
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAIBASE/20-removable_media
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAIBASE/30-interface
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAIBASE/40-misc
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAIBASE/50-copy-all-files
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAISERVER/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAISERVER/10-conffiles
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAISERVER/20-copy-mirror
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/GRUB/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/GRUB/10-setup
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/LAST/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/LAST/50-misc
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/LILO/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/LILO/20-create-liloconf
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-COMMON/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-COMMON/10-create-admin-user
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-DBSERVER/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-DBSERVER/10-activate-mysql
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-WEBSERVER/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-WEBSERVER/10-activate-httpd
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-WEBSERVER/20-install-java
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-WEBSERVER/30-install-jetspeed
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-WEBSERVER/40-install-tomcat
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-WEBSERVER/50-install-phpmyadmin
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/XENU/
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/XENU/15-disable-hwclock
   people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/XENU/30-fix-inittab
Log:
add rhel examples - under development

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/10-base-classes
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/10-base-classes	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/10-base-classes	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,8 @@
+#! /bin/bash
+
+# echo architecture and OS name in upper case. Do NOT remove these two lines
+uname -s | tr '[:lower:]' '[:upper:]'
+[ -x "`which dpkg`" ] && dpkg --print-installation-architecture | tr a-z A-Z
+
+[ -f /etc/RUNNING_FROM_FAICD ] && echo "FAICD"
+exit 0


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/10-base-classes
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/20-hwdetect.source
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/20-hwdetect.source	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/20-hwdetect.source	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,60 @@
+#! /bin/bash
+
+# (c) Thomas Lange, 2002-2005, lange at informatik.uni-koeln.de
+
+# NOTE: Files named *.source will be evaluated, but their output ignored and instead 
+# the contents of $newclasses will be added to the list of defined classes.
+
+echo 0 > /proc/sys/kernel/printk
+
+# load all IDE drivers
+
+# DMA does not work if we load all modules in drivers/ide, so only try pci modules
+mod=$(find /lib/modules/$(uname -r)/kernel/drivers/ide/pci -type f | sed 's/\.o$//' | sed 's/\.ko$//' | sed 's/.*\///')
+for i in $mod; do
+    modprobe $i 1>/dev/null 2>&1
+done
+# Booting from CD does not enable dma always
+for d in $( echo /proc/ide/hd[a-z] 2>/dev/null); do
+    [ -d $d ] && echo "using_dma:1" > $d/settings
+done
+
+# load additional kernel modules (from old 11modules.source)
+# this order should also enable DMA for all IDE drives
+kernelmodules="rtc floppy usbkbd ide-disk ide-cd"
+case $(uname -r) in
+    2.4*) kernelmodules="$kernelmodules keybdev mousedev hid ide-detect isa-pnp" ;;
+    2.6*) kernelmodules="$kernelmodules ehci-hcd ohci-hcd uhci-hcd usbhid usbmouse ide-generic mptspi ata_piix" ;;
+
+esac
+
+for mod in $kernelmodules; do
+    [ "$verbose" ] && echo loading kernel module $mod
+    modprobe -a $mod 1>/dev/null 2>&1
+done
+
+# let discover do most of the job
+[ -x /sbin/discover-modprobe ] && /sbin/discover-modprobe
+
+# now we can mount the usb file system
+mount -t usbfs  usbfs /proc/bus/usb
+
+modprobe -a sd_mod sr_mod
+
+echo 6 > /proc/sys/kernel/printk
+
+# try to detect graphics card
+# the variable VIDEODRIVER may be used to generate the XF86config file
+[ -x "$(which discover)" ] && {
+    if discover --version | grep "discover \(version \)*1\." ; then
+	VIDEODRIVER=$(discover --xdriver video 2> /dev/null)
+    else
+	VIDEODRIVER=$(discover --data-path=xfree86/server/device/driver display)
+    fi
+    [ -n "$VIDEODRIVER" ] && echo "VIDEODRIVER=$VIDEODRIVER" >> $LOGDIR/additional.var
+    echo "Video card detected: $VIDEODRIVER"
+}
+
+set_disk_info  # calculate number of available disks
+save_dmesg     # save new boot messages (from loading modules)
+


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/20-hwdetect.source
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/50-host-classes
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/50-host-classes	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/50-host-classes	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,25 @@
+#! /bin/bash
+
+# assign classes hosts
+
+# use a list of classes for our demo machine
+case $HOSTNAME in
+    faiserver)
+	echo "FAIBASE DEMO FAISERVER" ;;
+    demohost)
+	echo "FAIBASE DHCPC DEMO" ;;
+    gnomehost)
+	echo "FAIBASE DHCPC DEMO XORG GNOME";;
+    atom*)
+	echo "FAIBASE DHCPC DEMO" ;;
+    rhel5-demo)
+	#echo "DIST-RHEL_5 FAIBASE DHCPC XENU" ;;
+	echo "DEBUG DIST-RHEL_5 FAIBASE DHCPC RHEL-DEMO-COMMON RHEL-DEMO-WEBSERVER RHEL-DEMO-NAMESERVER RHEL-DEMO-DBSERVER XENU" ;;
+    xen-tools-test)
+	echo "FAIBASE DHCPC XENU" ;;
+    *)
+	echo "FAIBASE DHCPC BLA" ;;
+esac
+
+(ifclass I386 || ifclass AMD64) && echo GRUB 
+exit 0


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/50-host-classes
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/DEBUG.var
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/DEBUG.var	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/DEBUG.var	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1 @@
+FAI_FLAGS="$FAI_FLAGS debug"

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/DIST-RHEL_5.var
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/DIST-RHEL_5.var	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/DIST-RHEL_5.var	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1 @@
+DISTRIBUTION=rhel_5

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/FAIBASE.var
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/FAIBASE.var	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/FAIBASE.var	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,21 @@
+# default values for installation. You can override them in your *.var files
+
+# allow installation of pacakges from unsigned repositories
+FAI_ALLOW_UNSIGNED=1
+
+CONSOLEFONT=
+KEYMAP=us-latin1
+
+# Set UTC=yes if your system clock is set to UTC (GMT), and UTC=no if not.
+UTC=yes
+TIMEZONE=Europe/Berlin
+
+# root password for the new installed linux system; md5 and crypt are possible
+# pw is "fai"
+ROOTPW='$1$kBnWcO.E$djxB128U7dMkrltJHPf6d1'
+
+# moduleslist contains modules that will be loaded by the new system,
+# not during installation these modules will be written to /etc/modules
+# If you need a module during installation, add it to $kernelmodules
+# in 20-hwdetect.source. But discover should do most of this job
+MODULESLIST="usbkbd ehci-hcd ohci-hcd uhci-hcd usbhid psmouse"

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/GERMAN.var
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/GERMAN.var	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/class/GERMAN.var	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,2 @@
+# german environment
+KEYMAP=de-latin1-nodeadkeys

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/debconf/FAIBASE
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/debconf/FAIBASE	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/debconf/FAIBASE	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,5 @@
+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

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/debconf/FAISERVER
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/debconf/FAISERVER	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/debconf/FAISERVER	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,2 @@
+# Should the server be started by inetd?
+tftpd-hpa tftpd-hpa/use_inetd boolean false

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/debconf/GERMAN
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/debconf/GERMAN	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/debconf/GERMAN	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,3 @@
+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

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/disk_config/FAIBASE
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/disk_config/FAIBASE	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/disk_config/FAIBASE	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,13 @@
+# generic disk configuration for one small disk
+# disk size from 500Mb up to what you can buy today
+#
+# <type> <mountpoint> <size in mb> [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

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/disk_config/FAISERVER
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/disk_config/FAISERVER	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/disk_config/FAISERVER	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,13 @@
+# generic disk configuration for a fai isntall server
+#
+# <type> <mountpoint> <size in mb> [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

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/boot/grub/menu.lst/GRUB
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/boot/grub/menu.lst/GRUB	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/boot/grub/menu.lst/GRUB	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,43 @@
+#
+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
+
+

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/boot/grub/menu.lst/postinst
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/boot/grub/menu.lst/postinst	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/boot/grub/menu.lst/postinst	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,20 @@
+#! /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
+


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/boot/grub/menu.lst/postinst
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/X11/XF86Config-4/DEMO
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/X11/XF86Config-4/DEMO	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/X11/XF86Config-4/DEMO	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,121 @@
+# 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

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/apache2/conf.d/FAISERVER
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/apache2/conf.d/FAISERVER	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/apache2/conf.d/FAISERVER	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,24 @@
+<Directory "/var/www/ganglia">
+    AllowOverride None
+    Options None
+    Order deny,allow
+    Deny from all
+    Allow from 192.168.1
+</Directory>
+
+<Directory "/var/www/debian">
+    AllowOverride None
+    Options None
+    Order deny,allow
+#    Deny from all
+    Allow from all
+</Directory>
+
+<Directory "/var/www/debian-security">
+    AllowOverride None
+    Options None
+    Order deny,allow
+#    Deny from all
+    Allow from all
+</Directory>
+

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/apt-proxy/apt-proxy-v2.conf/FAISERVER
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/apt-proxy/apt-proxy-v2.conf/FAISERVER	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/apt-proxy/apt-proxy-v2.conf/FAISERVER	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,151 @@
+[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

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/default/tftpd-hpa/FAISERVER
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/default/tftpd-hpa/FAISERVER	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/default/tftpd-hpa/FAISERVER	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,3 @@
+#Defaults for tftpd-hpa
+RUN_DAEMON="yes"
+OPTIONS="-l -s /srv/tftp"

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/dhcp3/dhcpd.conf/FAISERVER
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/dhcp3/dhcpd.conf/FAISERVER	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/dhcp3/dhcpd.conf/FAISERVER	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,49 @@
+# 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;}

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/fai/apt/sources.list/FAISERVER
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/fai/apt/sources.list/FAISERVER	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/fai/apt/sources.list/FAISERVER	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,8 @@
+# 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

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/fai/fai.conf/FAISERVER
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/fai/fai.conf/FAISERVER	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/fai/fai.conf/FAISERVER	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,35 @@
+# $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

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/fai/make-fai-nfsroot.conf/FAISERVER
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/fai/make-fai-nfsroot.conf/FAISERVER	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/fai/make-fai-nfsroot.conf/FAISERVER	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,24 @@
+# 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"

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/fai/menu.lst/FAISERVER
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/fai/menu.lst/FAISERVER	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/fai/menu.lst/FAISERVER	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,50 @@
+# 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 at 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

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/fstab/RHEL-DEMO-COMMON
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/fstab/RHEL-DEMO-COMMON	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/fstab/RHEL-DEMO-COMMON	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,7 @@
+/dev/sda1            /                     ext3    defaults 1 1
+/dev/sda2            swap                  swap    defaults 0 0
+none                  /dev/pts              devpts  gid=5,mode=620 0 0
+none                  /dev/shm              tmpfs   defaults 0 0
+none                  /proc                 proc    defaults 0 0
+none                  /sys                  sysfs   defaults 0 0
+

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/kernel-img.conf/DEFAULT
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/kernel-img.conf/DEFAULT	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/kernel-img.conf/DEFAULT	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,5 @@
+do_symlinks = Yes
+do_initrd = Yes
+silent_modules=yes
+clobber_modules=yes
+do_boot_enable=no

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/motd/FAIBASE
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/motd/FAIBASE	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/motd/FAIBASE	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,4 @@
+
+
+Plan your installation, and FAI installs your plan.
+

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/rc2.d/S99fai-setup/FAISERVER
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/rc2.d/S99fai-setup/FAISERVER	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/rc2.d/S99fai-setup/FAISERVER	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,29 @@
+#! /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


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/rc2.d/S99fai-setup/FAISERVER
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/selinux/config/RHEL-DEMO-COMMON
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/selinux/config/RHEL-DEMO-COMMON	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/selinux/config/RHEL-DEMO-COMMON	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,14 @@
+# This file controls the state of SELinux on the system.
+# SELINUX= can take one of these three values:
+#       enforcing - SELinux security policy is enforced.
+#       permissive - SELinux prints warnings instead of enforcing.
+#       disabled - No SELinux policy is loaded.
+SELINUX=disabled
+# SELINUXTYPE= can take one of these two values:
+#       targeted - Only targeted network daemons are protected.
+#       strict - Full SELinux protection.
+#       mls - Multi Level Security protection.
+SELINUXTYPE=targeted
+# SETLOCALDEFS= Check local definition changes
+SETLOCALDEFS=0
+

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/sysconfig/network/RHEL-DEMO-COMMON
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/sysconfig/network/RHEL-DEMO-COMMON	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/sysconfig/network/RHEL-DEMO-COMMON	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,2 @@
+NETWORKING=yes
+HOSTNAME=rhel5-demo

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/yum.repos.d/rhel5-vt.repo/DIST-RHEL_5
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/yum.repos.d/rhel5-vt.repo/DIST-RHEL_5	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/yum.repos.d/rhel5-vt.repo/DIST-RHEL_5	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,10 @@
+[rhel5vt]
+#[base]
+protect=0
+#[RHEL5]
+#protect=1
+name=Red Hat Enterprise Linux 5
+baseurl=http://debmirror/mirrors/rhel/5/VT/
+enabled=1
+gpgcheck=0
+

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/yum.repos.d/rhel5.repo/DIST-RHEL_5
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/yum.repos.d/rhel5.repo/DIST-RHEL_5	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/etc/yum.repos.d/rhel5.repo/DIST-RHEL_5	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,8 @@
+[base]
+protect=0
+#[RHEL5]
+#protect=1
+name=Red Hat Enterprise Linux 5
+baseurl=http://debmirror/mirrors/rhel/5/Server/
+enabled=1
+gpgcheck=0

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/opt/apache-tomcat-6.0.13/conf/tomcat-users.xml/RHEL-DEMO-WEBSERVER
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/opt/apache-tomcat-6.0.13/conf/tomcat-users.xml/RHEL-DEMO-WEBSERVER	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/opt/apache-tomcat-6.0.13/conf/tomcat-users.xml/RHEL-DEMO-WEBSERVER	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,6 @@
+<?xml version='1.0' encoding='utf-8'?>
+<tomcat-users>
+<role rolename="manager"/>
+<user username="tomcat" password="s3cret" roles="manager"/>
+</tomcat-users>
+

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/var/www/html/index.html/RHEL-DEMO-WEBSERVER
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/var/www/html/index.html/RHEL-DEMO-WEBSERVER	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/var/www/html/index.html/RHEL-DEMO-WEBSERVER	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,13 @@
+<html
+<html>
+
+<head>
+</head>
+<body>
+
+<h1>Ein frisch installierter Webserver!</h1>
+<a href="./test.php">PHP Test</a>
+
+</body>
+</html>
+

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/var/www/html/test.php/RHEL-DEMO-WEBSERVER
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/var/www/html/test.php/RHEL-DEMO-WEBSERVER	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/files/var/www/html/test.php/RHEL-DEMO-WEBSERVER	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1 @@
+<? phpinfo() ?>

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/debconf.DIST-RHEL_5
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/debconf.DIST-RHEL_5	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/debconf.DIST-RHEL_5	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+skiptask debconf


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/debconf.DIST-RHEL_5
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/finish.DIST-RHEL_5
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/finish.DIST-RHEL_5	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/finish.DIST-RHEL_5	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,2 @@
+#! /bin/sh
+umount $target/proc


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/finish.DIST-RHEL_5
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/instsoft.FAIBASE
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/instsoft.FAIBASE	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/instsoft.FAIBASE	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,3 @@
+#! /bin/bash
+
+[ -s $target/etc/kernel-img.conf ] || fcopy -Bi /etc/kernel-img.conf


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/instsoft.FAIBASE
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/instsoft.XENU
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/instsoft.XENU	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/instsoft.XENU	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,4 @@
+#! /bin/sh
+# make grub directory to get kernel installed
+$ROOTCMD mkdir /boot/grub
+$ROOTCMD touch /boot/grub/menu.lst


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/instsoft.XENU
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/partition.XENU
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/partition.XENU	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/partition.XENU	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+#skiptask
+
+
+[ -f $LOGDIR/our.skip.partition ] && exit 0
+
+for our_cl in $classes; do
+  [ $our_cl = "XENU" ] && continue
+  [ -f $FAI/hooks/partition.$our_cl ] && exit 0
+done
+
+mke2fs -j /dev/hda1 > /dev/null
+mkswap /dev/hda2 > /dev/null
+
+#   mke2fs -j /dev/hda3 > /dev/null
+#   mke2fs -j /dev/hda4 > /dev/null
+#   mke2fs -j /dev/hda5 > /dev/null
+
+cat > /tmp/fai/fstab <<EOF
+/dev/hda1 / ext3 defaults 0 0
+/dev/hda2 none swap sw 0 0
+EOF
+
+#    /dev/hda3 /tmp ext3 defaults 0 0
+#    /dev/hda4 /usr ext3 defaults 0 0
+#    /dev/hda5 /var ext3 defaults 0 0
+#    EOF
+
+
+echo "#!" > $diskvar
+touch $LOGDIR/skip.partition


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/partition.XENU
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/prepareapt.DEFAULT
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/prepareapt.DEFAULT	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/prepareapt.DEFAULT	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+# run prepareapt only for default distribution
+
+if ! [ -z $DISTRIBUTION ]; then
+    echo "$0: skip task prepareapt because we are installing DISTRIBUTION=$DISTRIBUTION"
+    skiptask prepareapt
+fi
+
+if ifclass DEBIAN;then
+    echo "not running hook prepareapt.DEFAULT because we run a debian distribution"
+    exit 0
+fi
+
+# we need these to install packages via network
+[ -f /tmp/etc/resolv.conf ] && cp /tmp/etc/resolv.conf $FAI_ROOT/etc
+[ -f /etc/hosts ] && cp /etc/hosts $FAI_ROOT/etc
+# set hostname in $FAI_ROOT
+if [ -f /var/run/fai//FAI_INSTALLATION_IN_PROGRESS ]; then
+    echo -e "$IPADDR\t$HOSTNAME.$DOMAIN $HOSTNAME" >>$FAI_ROOT/etc/hosts
+    echo $HOSTNAME >$FAI_ROOT/etc/hostname
+fi
+
+touch $FAI_ROOT/etc/mtab
+


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/prepareapt.DEFAULT
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/savelog.LAST.source
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/savelog.LAST.source	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/savelog.LAST.source	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,122 @@
+#! /bin/bash
+
+# parse all log files for error messages
+# print errors and warnings found to error.log
+# WARNING: This will only work with english error messages!
+
+errfile=$LOGDIR/error.log
+
+# Define grep patterns. Do not start or end with an empty line!
+globalerrorpatterns="error
+fail
+warn
+bad
+no space
+syntax
+Couldn't stat
+Cannot access
+is bigger than the limit
+did not exist
+non existent
+not found
+couldn't
+can't
+E: Sorry, broken packages
+operator expected
+ambiguous redirect
+No previous regular expression
+No such
+Device or resource busy
+unknown option
+[a-z]\+\.log:E: 
+No candidate version found
+segfault
+cannot create"
+
+globalignorepatterns="[a-z]\+\.log:# 
+libroxen-errormessage
+liberror-perl
+libgpg-error-dev
+libgpg-error0
+^fstab.\+errors=remount
+[RT]X packets:
+WARNING: unexpected IO-APIC
+warned about = ( )
+daemon.warn
+kern.warn
+rw,errors=
+Expect some cache
+no error
+failmsg
+RPC call returned error 101
+deverror.out
+(floppy), sector 0
+mount version older than kernel
+Can't locate module 
+Warning only 896MB will be used.
+hostname: Host name lookup failure
+I can't tell the difference.
+warning, not much extra random data, consider using the -rand option
+confC._FILE
+Warning: 3 database(s) sources
+were not found, (but were created)
+removing exim
+The home dir you specified already exists.
+No Rule for /usr/lib/ispell/default.hash.
+/usr/sbin/update-fonts-.\+: warning: absolute path
+hostname: Unknown server error
+EXT2-fs warning: checktime reached
+RPC: sendmsg returned error 101
+can't print them to stdout. Define these classes
+warning: downgrading
+suppress emacs errors
+echo Error: 
+Can't open dependencies file
+documents in /usr/doc are no longer supported
+if you have both a SCSI and an IDE CD-ROM
+Warning: /proc/ide/hd?/settings interface is obsolete, and will be removed soon
+Monitoring disabled
+kernel-patch-badram
+Error: only one processor found.
+Error Recovery Strategy:
+sector 0 does not have an
+syslogin_perform_logout: logout() returned an error
+grub is not in an XFS filesystem.
+is harmless
+not updating .\+ font directory data.
+register_serial(): autoconfig failed
+Fontconfig error: Cannot load default config file
+asking for cache data failed
+However, I can not read the target:
+fai-kernels/modules.dep: No such file
+Warning: The partition table looks like it was made
+task_error=0
+^info: Trying to set 
+warning: /usr/lib/X11/fonts
+cdrom: open failed."
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Here you can define your own patterns. Put one pattern in a line,
+# do not create empty lines.
+myerrorpatterns="XXXXX"
+myignorepatterns="XXXXX"
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# The main routine
+errorpatterns="$globalerrorpatterns
+$myerrorpatterns"
+ignorepatterns="$globalignorepatterns
+$myignorepatterns"
+
+cd $LOGDIR || exit 3
+if [ -s $errfile ]; then
+    echo "Errorfile already exists. Aborting."
+    exit
+fi
+
+grep -i "$errorpatterns" *.log | grep -vi "$ignorepatterns" > $errfile
+
+if [ -s $errfile ]; then
+   echo "ERRORS found in log files. See $errfile."
+else
+   echo "Congratulations! No errors found in log files."
+   export flag_reboot=1
+fi


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/savelog.LAST.source
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/updatebase.DIST-RHEL_5
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/updatebase.DIST-RHEL_5	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/updatebase.DIST-RHEL_5	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+# TODO: do things necessary to update yum db!
+mount -o bind /proc $target/proc
+$ROOTCMD yum update
+
+skiptask updatebase


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/hooks/updatebase.DIST-RHEL_5
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/DEMO
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/DEMO	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/DEMO	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,10 @@
+# some packages we need on a demo machine
+
+PACKAGES aptitude
+fortune-mod fortunes
+rstat-client #rstatd
+rusers rusersd
+
+# only when also class XORG is defined
+PACKAGES aptitude XORG
+bb frozen-bubble xpenguins

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/DIST-DEBIAN_DEFAULT
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/DIST-DEBIAN_DEFAULT	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/DIST-DEBIAN_DEFAULT	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,17 @@
+PACKAGES aptitude I386
+memtest86+
+
+PACKAGES aptitude CHROOT
+linux-image-486-
+
+PACKAGES aptitude AMD64
+memtest86+
+
+PACKAGES aptitude DHCPC
+dhcp3-client
+
+PACKAGES aptitude GRUB
+grub lilo-
+
+PACKAGES aptitude LILO
+lilo grub-

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/DIST-DEBIAN_FAIBASE
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/DIST-DEBIAN_FAIBASE	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/DIST-DEBIAN_FAIBASE	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,26 @@
+PACKAGES aptitude
+linux-image-486
+cfengine2
+cron
+debconf-utils
+discover
+file
+hdparm
+jove
+less
+linuxlogo
+nfs-common
+nscd
+rdate
+rsync
+rsh-client
+openssh-client openssh-server
+strace
+sysutils
+tcsh
+time
+exim4
+eject
+locales
+console-common
+pciutils usbutils

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/FAIBASE
===================================================================

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/FAISERVER
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/FAISERVER	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/FAISERVER	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,12 @@
+PACKAGES aptitude-r
+fai-kernels fai-quickstart
+
+dhcp3-server dhcp3-client tftpd-hpa
+rsh-server wget syslinux
+debmirror tcpdump
+apache2
+apt-move mkisofs grub
+apt-proxy lftp
+
+PACKAGES aptitude-r I386
+mknbi mkinitrd-cd

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/GERMAN
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/GERMAN	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/GERMAN	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,6 @@
+PACKAGES aptitude-r
+german
+
+PACKAGES aptitude GNOME
+mozilla-firefox-locale-de-de
+thunderbird-locale-de

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/GNOME
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/GNOME	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/GNOME	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,11 @@
+PACKAGES aptitude
+
+mozilla-browser-
+gnome-desktop-environment
+firefox
+firefox-gnome-support
+thunderbird
+thunderbird-gnome-support
+menu gdm
+gnumeric
+gnome-apt

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/RHEL-DEMO-COMMON
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/RHEL-DEMO-COMMON	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/RHEL-DEMO-COMMON	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,10 @@
+PACKAGES yumi
+less
+lynx
+openssh
+vim-enhanced
+man
+openssh-server
+wget
+screen
+unzip

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/RHEL-DEMO-DBSERVER
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/RHEL-DEMO-DBSERVER	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/RHEL-DEMO-DBSERVER	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,2 @@
+PACKAGES yumi
+mysql-server

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/RHEL-DEMO-NAMESERVER
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/RHEL-DEMO-NAMESERVER	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/RHEL-DEMO-NAMESERVER	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,2 @@
+PACKAGES yumi
+bind

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/RHEL-DEMO-WEBSERVER
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/RHEL-DEMO-WEBSERVER	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/RHEL-DEMO-WEBSERVER	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,5 @@
+PACKAGES yumi
+httpd
+php
+php-mysql
+# zu gross: tomcat5

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/RHEL-DEMO-WEBSERVER_REMOVE
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/RHEL-DEMO-WEBSERVER_REMOVE	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/RHEL-DEMO-WEBSERVER_REMOVE	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,3 @@
+PACKAGES yumr
+httpd
+php

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/XENU
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/XENU	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/XENU	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,10 @@
+PACKAGES yumi DIST-RHEL_5
+kernel-xen
+libvirt
+python-libvirt
+
+PACKAGES install DIST_DEFAULT
+ethtool
+libc6-xen
+linux-image-2.6-xen-686
+console-tools-

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/XORG
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/XORG	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/package_config/XORG	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,5 @@
+PACKAGES aptitude
+xorg xserver-xorg-video-all xserver-xorg-input-all
+ttf-freefont type1inst
+xscreensaver
+xscreensaver-gl

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/AMD64/99-discover-bug
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/AMD64/99-discover-bug	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/AMD64/99-discover-bug	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,14 @@
+#! /usr/sbin/cfagent -f
+
+# this is a workaround for bug #343338
+
+control:
+   any::
+   actionsequence = ( editfiles )
+   EditFileSize = ( 30000 )
+
+editfiles:
+   any::
+	{ ${target}/etc/discover-modprobe.conf
+	  ReplaceAll "^types=.*" With "types="
+	}


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/AMD64/99-discover-bug
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/DEMO/10-misc
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/DEMO/10-misc	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/DEMO/10-misc	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,14 @@
+#! /bin/bash
+
+# (c) Thomas Lange, 2001-2007, lange at debian.org
+
+ifclass XORG && {
+    fcopy -M /etc/X11/xorg.conf
+#    [ -n "$VIDEODRIVER" ] || VIDEODRIVER=vesa
+#    grep -q %%VIDEODRIVER%% $target/etc/X11/xorg.conf &&
+#    perl -pi.orig -pe "s/%%VIDEODRIVER%%/$VIDEODRIVER/" $target/etc/X11/xorg.conf
+}
+
+# add a demo user account
+$ROOTCMD adduser --disabled-login --gecos "fai demo user" demo
+echo "demo:$ROOTPW" | $ROOTCMD chpasswd --encrypted


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/DEMO/10-misc
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/DEMO/30-demo
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/DEMO/30-demo	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/DEMO/30-demo	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,20 @@
+#! /usr/sbin/cfagent -f
+
+control:
+   any::
+   actionsequence = ( files editfiles )
+   EditFileSize = ( 30000 )
+
+files:
+   any::
+
+# floppy and cdroms are accessible for all
+        ${target}/dev include=fd* mode=666   action=fixall r=1
+        ${target}/dev include=sr* mode=444   action=fixall r=1
+
+editfiles:
+   any::
+
+	{ ${target}/etc/init.d/sysklogd
+	  ReplaceAll "^SYSLOGD=.*" With 'SYSLOGD="-m 360"'
+	}


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/DEMO/30-demo
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAIBASE/10-misc
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAIBASE/10-misc	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAIBASE/10-misc	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,39 @@
+#! /bin/bash
+
+# (c) Thomas Lange, 2001-2007, lange at debian.org
+
+error=0 ; trap "error=$((error|1))" ERR
+
+# a list of modules which are loaded at boot time
+fcopy -i /etc/modules
+for module in $MODULESLIST; do
+    ainsl -a $target/etc/modules "^$module$"
+done
+
+# disable fsck on ext3 filesystems
+for part in $(mount|grep $target |grep "type ext3"|perl -ane 'print "$F[0] "')
+do
+    echo "Disable periodic fsck on $part"
+    tune2fs -c 0 -i 0 $part
+done
+
+fcopy /etc/hostname || echo $HOSTNAME     > $target/etc/hostname
+echo $TIMEZONE    > $target/etc/timezone
+ln -fs /usr/share/zoneinfo/${TIMEZONE} $target/etc/localtime
+
+fcopy -iM /etc/hosts /etc/motd
+
+# set root password
+echo "root:$ROOTPW" | $ROOTCMD chpasswd --encrypted
+# make /root accessible only by root
+chmod 0700 $target/root
+chown root:root $target/root
+# copy default dotfiles for root account
+fcopy -ir /root
+
+# create keyboard layout table
+$ROOTCMD bash -c "echo 'console-data console-data/keymap/full select $KEYMAP' | debconf-set-selections"
+$ROOTCMD install-keymap $KEYMAP || true
+# dumpkeys | gzip -9f >$target/etc/console/boottime.kmap.gz
+
+exit $error


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAIBASE/10-misc
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAIBASE/20-removable_media
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAIBASE/20-removable_media	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAIBASE/20-removable_media	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,27 @@
+#! /bin/bash
+
+# (c) Thomas Lange, 2006, lange at debian.org
+# create entries for removable media in fstab and directories in /media
+
+ainsl $target/etc/fstab "/dev/fd0  /floppy  auto  users,noauto 0 0"
+
+cdromlist() {
+    [ -f /proc/sys/dev/cdrom/info ] || return
+    devs=$(grep 'drive name:' /proc/sys/dev/cdrom/info | cut -d ":" -f 2)
+    for d in $devs; do
+	echo $d
+    done
+}
+
+fstabline () {
+    line=$(printf "%-15s %-15s %-7s %-15s %-7s %s\n" "$1" "$2" "$3" "$4" "$5" "$6")
+    ainsl $target/etc/fstab "$line"
+}
+
+i=0
+for cdrom in $(cdromlist | tac); do
+    [ $i -eq 0 ] && ln -s cdrom0 $target/media/cdrom
+    [ -d $target/media/cdrom$i ] || mkdir $target/media/cdrom$i
+    fstabline /dev/$cdrom /media/cdrom$i udf,iso9660 ro,user,noauto 0 0
+    i=$(($i + 1))
+done


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAIBASE/20-removable_media
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAIBASE/30-interface
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAIBASE/30-interface	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAIBASE/30-interface	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,33 @@
+#! /bin/bash
+
+error=0 ; trap "error=$((error|1))" ERR
+
+if ifclass DHCPC
+then
+    cat > $target/etc/network/interfaces <<-EOF
+	# generated by FAI
+	auto lo eth0
+	iface lo inet loopback
+	iface eth0 inet dhcp
+EOF
+else
+      [ -n "$IPADDR" ] && cat > $target/etc/network/interfaces <<-EOF
+	# generated by FAI
+	auto lo eth0
+	iface lo inet loopback
+	iface eth0 inet static
+	  address $IPADDR
+	  netmask $NETMASK
+	  broadcast $BROADCAST
+	  gateway $GATEWAYS
+EOF
+    [ -n "$NETWORK" ] && echo "localnet $NETWORK" > $target/etc/networks
+    [ -s /tmp/etc/resolv.conf ] && cp -p /tmp/etc/resolv.conf $target/etc
+    fcopy -i /etc/resolv.conf
+fi
+
+# here fcopy is mostly used, when installing a client for running in a
+# different subnet than during the installation  
+fcopy -iM /etc/network/interfaces /etc/networks
+
+exit $error


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAIBASE/30-interface
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAIBASE/40-misc
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAIBASE/40-misc	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAIBASE/40-misc	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,26 @@
+#! /usr/sbin/cfagent -f
+
+control:
+   any::
+   actionsequence = ( directories editfiles )
+   EditFileSize = ( 30000 )
+
+directories:
+   any::
+	${target}/tmp mode=1777 owner=0 group=0
+
+editfiles:
+   any::
+	{ ${target}/etc/mailname
+	  AutoCreate
+          AppendIfNoSuchLine "${HOSTNAME}"
+	}
+
+	{ ${target}/etc/default/rcS
+	  ReplaceAll "^UTC=.*" With "UTC=${UTC}"
+	}
+
+	{ ${target}/etc/inittab
+	  ReplaceAll "/sbin/getty 38400"
+		With "/sbin/getty -f /etc/issue.linuxlogo 38400"
+	}


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAIBASE/40-misc
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAIBASE/50-copy-all-files
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAIBASE/50-copy-all-files	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAIBASE/50-copy-all-files	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,3 @@
+#! /bin/bash
+
+fcopy -ir /


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAIBASE/50-copy-all-files
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAISERVER/10-conffiles
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAISERVER/10-conffiles	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAISERVER/10-conffiles	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,14 @@
+#! /bin/bash
+
+fcopy -Bv /etc/dhcp3/dhcpd.conf /etc/default/tftpd-hpa # not needed /etc/apache2/conf.d
+fcopy -Bvr /etc/fai
+
+#/etc/fai/fai.conf /etc/fai/make-fai-nfsroot.conf
+fcopy /etc/apt-proxy/apt-proxy-v2.conf /etc/fai/apt/sources.list
+# use the same sources.list for the server itself and the clients
+cp -a $target/etc/fai/apt $target/etc/
+
+rm -f $target/etc/resolv.conf
+
+# create some host entries
+perl -e 'for (1..25) {printf "192.168.1.%s atom%02s\n",$_,$_;}' >> $target/etc/hosts


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAISERVER/10-conffiles
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAISERVER/20-copy-mirror
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAISERVER/20-copy-mirror	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAISERVER/20-copy-mirror	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,15 @@
+#! /bin/bash
+
+# TODO: if we install from network copy the package mirror via, e.g., wget
+
+[ -d /media/mirror ] || exit 0
+
+echo "Copying Debian mirror from CD to local disk. This may take some time."
+mkdir -p $target/var/www/debian
+cp -a /media/mirror/* $target/var/www/debian
+
+cd $target/var/www/debian/dists
+#ln -s stable etch
+ln -s testing etch
+
+fcopy -v /etc/rc2.d/S99fai-setup


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/FAISERVER/20-copy-mirror
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/GRUB/10-setup
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/GRUB/10-setup	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/GRUB/10-setup	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,8 @@
+#! /bin/bash
+
+error=0 ; trap "error=$((error|1))" ERR
+
+fcopy -Uv boot/grub/menu.lst
+
+exit $error
+


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/GRUB/10-setup
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/LAST/50-misc
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/LAST/50-misc	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/LAST/50-misc	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,35 @@
+#! /bin/bash
+
+# copyright Thomas Lange 2001-2007, lange at debian.org
+
+error=0 ; trap "error=$((error|1))" ERR
+
+# remove backup files from cfengine
+dirs="root etc var"
+for path in $dirs; do
+    find $target/$path -maxdepth 20 -name \*.cfedited -o -name \*.cfsaved | xargs -r rm
+done
+
+[ "$FAI_DEBMIRROR" ] && 
+echo "#$FAI_DEBMIRROR $MNTPOINT nfs ro 0 0" >> $target/etc/fstab
+
+# set bios clock
+if [ $do_init_tasks -eq 1 ] ; then
+    case "$UTC" in
+       no|"") hwopt="--localtime" ;;
+       yes)   hwopt="--utc"       ;;
+    esac
+    $ROOTCMD hwclock $hwopt --systohc || true
+fi
+
+# Make sure everything is configured properly
+echo "Running \"apt-get -f install\" for the last time."
+$ROOTCMD apt-get -f install
+
+lskernels=$(echo $target/boot/vmlinu*)
+[ -f ${lskernels%% *} ] || echo "ERROR: No kernel was installed. Have a look at shell.log"
+# copy sources.list
+fcopy -i /etc/apt/sources.list
+
+exit $error
+


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/LAST/50-misc
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/LILO/20-create-liloconf
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/LILO/20-create-liloconf	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/LILO/20-create-liloconf	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,72 @@
+#! /bin/bash
+
+# copyright Thomas Lange 2001-2005, lange at debian.org
+# LILO support may be dropped in a future release
+
+FFLAGS=${FAI_FLAGS// /,}
+
+cd $target/boot && kernelversion=$(ls vmlinuz-*)
+
+# if class NOMBR is defined, write boot loader into root partition, not into mbr
+ifclass NOMBR && BOOT_DEVICE=$ROOT_PARTITION
+
+if ifclass LILO; then
+  fcopy /etc/lilo.conf || {
+    # if the installed kernel is using an initial ramdisk
+    if [ -L $target/initrd.img ]; then
+	initrdopt="initrd=/initrd.img"
+    fi
+    # write lilo.conf and install lilo to disk
+    echo "Creating lilo.conf for /vmlinuz"
+    cat > $target/etc/lilo.conf <<-EOF
+	boot=$BOOT_DEVICE
+	root=$ROOT_PARTITION
+	install=/boot/boot.b
+	map=/boot/map
+	vga=normal
+	delay=50
+
+	image=/vmlinuz
+	append="devfs=nomount $kappend"
+	$initrdopt
+	label=linux
+        read-only
+
+	image=/vmlinuz.old
+	label=linux.old
+	read-only
+	optional
+	$liloappend
+EOF
+  }
+fi
+
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ifclass FAI_BOOTPART && {
+
+    rev=`uname -r`
+    mkdir -p $target/fai-boot
+    cp -a /boot/vmlinuz-$rev $target/fai-boot
+
+    ifclass LILO && {
+    # write lilo.conf and install lilo to disk
+	echo "Add /fai-boot partition to lilo.conf"
+
+	cat >> $target/etc/lilo.conf <<-EOF
+	image=/fai-boot/boot/$kernelversion
+	$initrdopt
+	append="devfs=nomount"
+	label=FAI
+EOF
+	mkdir $target/fai-boot/etc
+	cp $target/etc/lilo.conf $target/fai-boot/etc
+    }
+
+}
+
+# now call lilo
+# you can also use this
+# $ROOTCMD lilo -v
+if ifclass LILO; then
+    $target/sbin/lilo -r $target
+fi


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/LILO/20-create-liloconf
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-COMMON/10-create-admin-user
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-COMMON/10-create-admin-user	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-COMMON/10-create-admin-user	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,6 @@
+#! /bin/bash
+
+$ROOTCMD useradd -m admin
+
+echo "admin:secretpass" | $ROOTCMD chpasswd --encrypted
+


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-COMMON/10-create-admin-user
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-DBSERVER/10-activate-mysql
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-DBSERVER/10-activate-mysql	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-DBSERVER/10-activate-mysql	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+$ROOTCMD chkconfig mysqld on


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-DBSERVER/10-activate-mysql
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-WEBSERVER/10-activate-httpd
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-WEBSERVER/10-activate-httpd	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-WEBSERVER/10-activate-httpd	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,3 @@
+#! /bin/bash
+
+$ROOTCMD chkconfig httpd on


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-WEBSERVER/10-activate-httpd
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-WEBSERVER/20-install-java
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-WEBSERVER/20-install-java	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-WEBSERVER/20-install-java	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,4 @@
+#! /bin/bash
+
+$ROOTCMD wget -P/tmp http://debmirror/mirrors/binary-packages/jdk-6u1-linux-i586.rpm
+$ROOTCMD rpm -i /tmp/jdk-6u1-linux-i586.rpm


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-WEBSERVER/20-install-java
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-WEBSERVER/30-install-jetspeed
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-WEBSERVER/30-install-jetspeed	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-WEBSERVER/30-install-jetspeed	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,7 @@
+#! /bin/bash
+
+$ROOTCMD wget -P/tmp/ http://debmirror/mirrors/binary-packages/jetspeed-2.1-demo-installer.jar
+#yes y > $ROOTCMD /usr/java/latest/bin/java -jar /tmp/jetspeed-2.1-demo-installer.jar
+
+echo "jetspeed install not ready yet"
+exit 1


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-WEBSERVER/30-install-jetspeed
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-WEBSERVER/40-install-tomcat
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-WEBSERVER/40-install-tomcat	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-WEBSERVER/40-install-tomcat	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,7 @@
+#! /bin/bash
+
+$ROOTCMD wget -P/tmp http://debmirror/mirrors/binary-packages/apache-tomcat-6.0.13.tar.gz
+$ROOTCMD tar xvfz /tmp/apache-tomcat-6.0.13.tar.gz -C /opt/
+
+echo "TODO: create a start script, and enable it to be run at system startup"
+exit 1


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-WEBSERVER/40-install-tomcat
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-WEBSERVER/50-install-phpmyadmin
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-WEBSERVER/50-install-phpmyadmin	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-WEBSERVER/50-install-phpmyadmin	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,5 @@
+#!/bin/sh
+$ROOTCMD wget -P/tmp http://debmirror/mirrors/binary-packages/phpMyAdmin-2.10.2-english.tar.bz2
+$ROOTCMD tar xvfz /tmp/phpMyAdmin-2.10.2-english.tar.bz2 -C /var/www/html/
+$ROOTCMD ln -s /var/www/phpMyAdmin-2.10.2-english /var/www/myadmin
+


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/RHEL-DEMO-WEBSERVER/50-install-phpmyadmin
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/XENU/15-disable-hwclock
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/XENU/15-disable-hwclock	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/XENU/15-disable-hwclock	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,17 @@
+#!/bin/sh
+#
+#  This script disables the hardware clock.
+#
+# Steve
+# --
+# http://www.steve.org.uk/
+
+
+prefix=$target
+
+#
+#  Disable the startup scripts from all runlevels.
+#
+# FIXME: only for Debian - what to do in FEDORA?
+chmod -x ${prefix}/etc/init.d/hwclock.sh
+#chmod -x ${prefix}/etc/init.d/hwclockfirst.sh


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/XENU/15-disable-hwclock
___________________________________________________________________
Name: svn:executable
   + *

Added: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/XENU/30-fix-inittab
===================================================================
--- people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/XENU/30-fix-inittab	                        (rev 0)
+++ people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/XENU/30-fix-inittab	2007-07-05 16:43:41 UTC (rev 4383)
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+#  This script does two things:
+#
+#  1. Sets the console type for the first terminal to 'console'.
+#  2. Comments out all virtual terminals which aren't on the first console.
+#
+# Steve
+# --
+# http://www.steve.org.uk/
+
+
+prefix=$target
+
+
+#
+# Do the transformation.
+#
+sed -i -e 's/^\([2-6].*:respawn*\)/#\1/' -e 's/^T/#\t/' ${prefix}/etc/inittab
+


Property changes on: people/lazyboy/rhel-install-fixes_3.1.8/examples/rhel-install-demo/scripts/XENU/30-fix-inittab
___________________________________________________________________
Name: svn:executable
   + *




More information about the Fai-commit mailing list