[Debconf-video-commits] r104 - in fai-config: . doc doc/src doc/udldap-todo

holger at alioth.debian.org holger at alioth.debian.org
Mon Jul 14 22:56:49 UTC 2008


Author: holger
Date: 2008-07-14 22:56:48 +0000 (Mon, 14 Jul 2008)
New Revision: 104

Added:
   fai-config/doc/
   fai-config/doc/README
   fai-config/doc/TODO
   fai-config/doc/src/
   fai-config/doc/src/ac583520.asc
   fai-config/doc/src/final_setup.sh
   fai-config/doc/src/preseed.cfg
   fai-config/doc/src/syslinux.cfg
   fai-config/doc/udldap-todo/
   fai-config/doc/udldap-todo/setup_fai.sh
   fai-config/doc/udldap-todo/setup_fai_dc7.sh
Removed:
   fai-config/setup_fai.sh
   fai-config/setup_fai_dc7.sh
Log:
first draft of doc and automatic installation with d-i

Added: fai-config/doc/README
===================================================================
--- fai-config/doc/README	                        (rev 0)
+++ fai-config/doc/README	2008-07-14 22:56:48 UTC (rev 104)
@@ -0,0 +1,2 @@
+see http://wiki.debconf.org/wiki/Videoteam/Software
+

Added: fai-config/doc/TODO
===================================================================
--- fai-config/doc/TODO	                        (rev 0)
+++ fai-config/doc/TODO	2008-07-14 22:56:48 UTC (rev 104)
@@ -0,0 +1,10 @@
+- test if hostname is really asked as it should
+-- maybe do that fully automatic in .ar? (by relying on dhcp)
+- put the ud ldap configiguration from dc7 in fai classes
+- change to use debconfs apt repo not holgers
+- huh? test if apt key really is fetched via http
+- in .ar: ask for root-pw?!
+- in .ar: choose a proper mirror 
+- cleanup+adopt fai config space from dc7 to dc8
+-- design host setup first
+- move README from wiki to here and link this version in the wiki

Added: fai-config/doc/src/ac583520.asc
===================================================================
--- fai-config/doc/src/ac583520.asc	                        (rev 0)
+++ fai-config/doc/src/ac583520.asc	2008-07-14 22:56:48 UTC (rev 104)
@@ -0,0 +1,52 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v1.4.6 (GNU/Linux)
+
+mQGiBECqW80RBACgCRI+OCCc7jrnHWMTS1wQT2+tLy1JchmWayZnnB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yN6ryuO1vvQSu8AAwUP/2Aibojnrc45
+N1iaYR8hCpCY1RDvBbe/sv3NvWurxX6CoMsqcCDxM9+YinwAiDD/ukV3jH+il1wx
+l/78knv7eOuuj3/Hih0uh0q/ccF0UdeCceaeUYe9ZBTot0ulLxS5/aKVlItN3ZJC
+2MISXvLc5t8p7YJ4TYKKqaw28WFu4USCSH+hGLIf1xENy3ZGn6AAYk7UMSjJ/fSf
+hVYQhdUAr5Mj9yNgunHBEgryeaiuI1qc/m8l+NYZ/Fi3wRmVAc0K87cfBsi2he4s
+bbe64ZcXpRuI2fGAA8rixpHAMSBbXrmYQKk33nZMC820NfvTtkzZX+5e7ONUiFTK
+RCaWteOHlWM1A3tXiCu2pkclum//x/V+05B6KmF5WK5Rl1zgWh/Q4E7x6h1xZIwF
+X7uO+jw33ekK2Xz/2cc1uSNGNEixRwIXQIeP/1OCC2A5wTDVTyPOt5hpYElHFfsW
+I2o26/tDbHq96bqWJFEXn/CGsdPv8YMpUzs/a6IxTAgGmS0M8ElkUfF+BK7aDlUs
+sudoMShPVF38xrVUESKUhRrneM8vF1LmaOzj+8dWot4xo+reUQGcg+kc2EVQjmOn
+BjQOQ2DORkwvhynp2B2Ka5d0+G+htPg+XhAoiR2TkFRaykVxgi7dcE0zIXKWN4Y/
+G0rkrbFFbIoHb+6mjlI5PuXZzvpseHiuiE4EGBECAAYFAkRVOQwAEgdlR1BHAAEB
+CRBQctA2rFg1IF/mAKCIwgpxBaWuinobVfoq5xkXpw0c5ACfVsDUhXBocZzpl3SY
+adDQwaqWO8Y=
+=6UY+
+-----END PGP PUBLIC KEY BLOCK-----


Property changes on: fai-config/doc/src/ac583520.asc
___________________________________________________________________
Name: svn:executable
   + *

Added: fai-config/doc/src/final_setup.sh
===================================================================
--- fai-config/doc/src/final_setup.sh	                        (rev 0)
+++ fai-config/doc/src/final_setup.sh	2008-07-14 22:56:48 UTC (rev 104)
@@ -0,0 +1,20 @@
+#! /bin/bash
+
+# Copyright 2006-2008 Holger Levsen 
+# released under the GPLv=2
+#
+# this is a stripped down version :)
+
+DEBCONF_FRONTEND=noninteractive  DEBIAN_FRONTEND=noninteractive apt-get install vim fai-client subversion 
+
+echo 'FAI_CONFIG_SRC="svn//svn.debian.org/srv//fai-config-dir/trunk"' >> /etc/fai/fai.conf  # crude hack - last entry has precedence :)
+
+fai -N softupdate
+
+echo "cat /var/log/fai/current/error.log:"
+cat /var/log/fai/current/error.log
+
+echo
+echo "'fai -N softupdate' already ran."
+echo
+


Property changes on: fai-config/doc/src/final_setup.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: fai-config/doc/src/preseed.cfg
===================================================================
--- fai-config/doc/src/preseed.cfg	                        (rev 0)
+++ fai-config/doc/src/preseed.cfg	2008-07-14 22:56:48 UTC (rev 104)
@@ -0,0 +1,286 @@
+#### Contents of the preconfiguration file
+### Localization
+# Locale sets language and country.
+#d-i debian-installer/locale string de_DE
+
+# Keyboard selection.
+#d-i console-tools/archs select at
+#d-i console-keymaps-at/keymap select de
+# Example for a different keyboard architecture
+#d-i console-keymaps-usb/keymap select mac-usb-us
+
+### Network configuration
+# netcfg will choose an interface that has link if possible. This makes it
+# skip displaying a list if there is more than one interface.
+d-i netcfg/choose_interface select auto
+
+# To pick a particular interface instead:
+#d-i netcfg/choose_interface select eth1
+
+# If you have a slow dhcp server and the installer times out waiting for
+# it, this might be useful.
+#d-i netcfg/dhcp_timeout string 60
+
+# If you prefer to configure the network manually, uncomment this line and
+# the static network configuration below.
+#d-i netcfg/disable_dhcp boolean true
+
+# If you want the preconfiguration file to work on systems both with and
+# without a dhcp server, uncomment these lines and the static network
+# configuration below.
+#d-i netcfg/dhcp_failed note
+#d-i netcfg/dhcp_options select Configure network manually
+
+# Static network configuration.
+#d-i netcfg/get_nameservers string 192.168.1.1
+#d-i netcfg/get_ipaddress string 192.168.1.42
+#d-i netcfg/get_netmask string 255.255.255.0
+#d-i netcfg/get_gateway string 192.168.1.1
+#d-i netcfg/confirm_static boolean true
+
+# Any hostname and domain names assigned from dhcp take precedence over
+# values set here. However, setting the values still prevents the questions
+# from being shown, even if values come from dhcp.
+#d-i netcfg/get_hostname string wuff
+#d-i netcfg/get_domain string athome
+
+# Disable that annoying WEP key dialog.
+d-i netcfg/wireless_wep string
+# The wacky dhcp hostname that some ISPs use as a password of sorts.
+#d-i netcfg/dhcp_hostname string radish
+
+### Mirror settings
+# If you select ftp, the mirror/country string does not need to be set.
+#d-i mirror/protocol string ftp
+d-i mirror/country string enter information manually
+d-i mirror/http/hostname string ftp.de.debian.org
+d-i mirror/http/directory string /debian
+
+# Suite to install.
+#d-i mirror/suite string testing
+# Suite to use for loading installer components (optional).
+#d-i mirror/udeb/suite string testing
+
+### Partitioning
+# If the system has free space you can choose to only partition that space.
+# Note: this must be preseeded with a localized (translated) value.
+#d-i partman-auto/init_automatically_partition \
+#      select Guided - use the largest continuous free space
+
+# Alternatively, you can specify a disk to partition. The device name
+# can be given in either devfs or traditional non-devfs format.
+# For example, to use the first disk:
+#d-i partman-auto/disk string /dev/discs/disc0/disc
+# In addition, you'll need to specify the method to use.
+# The presently available methods are: "regular", "lvm" and "crypto"
+#d-i partman-auto/method string crypto
+
+# If one of the disks that are going to be automatically partitioned
+# contains an old LVM configuration, the user will normally receive a
+# warning. This can be preseeded away...
+#d-i partman-auto/purge_lvm_from_device boolean true
+# And the same goes for the confirmation to write the lvm partitions.
+#d-i partman-lvm/confirm boolean true
+
+# You can choose from any of the predefined partitioning recipes.
+# Note: this must be preseeded with a localized (translated) value.
+#d-i partman-auto/choose_recipe \
+#       select All files in one partition (recommended for new users)
+#d-i partman-auto/choose_recipe \
+#       select Separate /home partition
+#d-i partman-auto/choose_recipe \
+#       select Separate /home, /usr, /var, and /tmp partitions
+
+# Or provide a recipe of your own...
+# The recipe format is documented in the file devel/partman-auto-recipe.txt.
+# If you have a way to get a recipe file into the d-i environment, you can
+# just point at it.
+#d-i partman-auto/expert_recipe_file string /hd-media/recipe
+
+# If not, you can put an entire recipe into the preconfiguration file in one
+# (logical) line. This example creates a small /boot partition, suitable
+# swap, and uses the rest of the space for the root partition:
+#d-i partman-auto/expert_recipe string                         \
+#      boot-root ::                                            \
+#              40 50 100 ext3                                  \
+#                      $primary{ } $bootable{ }                \
+#                      method{ format } format{ }              \
+#                      use_filesystem{ } filesystem{ ext3 }    \
+#                      mountpoint{ /boot }                     \
+#              .                                               \
+#              500 10000 1000000000 ext3                       \
+#                      method{ format } format{ }              \
+#                      use_filesystem{ } filesystem{ ext3 }    \
+#                      mountpoint{ / }                         \
+#              .                                               \
+#              64 512 300% linux-swap                          \
+#                      method{ swap } format{ }                \
+#              .
+
+# This makes partman automatically partition without confirmation.
+#d-i partman/confirm_write_new_label boolean true
+#d-i partman/choose_partition \
+#       select Finish partitioning and write changes to disk
+#d-i partman/confirm boolean true
+
+### Clock and time zone setup
+# Controls whether or not the hardware clock is set to UTC.
+d-i clock-setup/utc boolean true
+
+# You may set this to any valid setting for $TZ; see the contents of
+# /usr/share/zoneinfo/ for valid values.
+d-i time/zone string Europe/Berlin
+
+### Apt setup
+# You can choose to install non-free and contrib software.
+d-i apt-setup/non-free boolean true
+d-i apt-setup/contrib boolean true
+# Uncomment this if you don't want to use a network mirror.
+#d-i apt-setup/use_mirror boolean false
+# Uncomment this to avoid adding security sources, or
+# add a hostname to use a different server than security.debian.org.
+#d-i apt-setup/security_host string
+
+# Additional repositories, local[0-9] available
+d-i apt-setup/local0/repository string \
+	http://layer-acht.org/debian etch fai
+d-i apt-setup/local0/comment string holgers pakete
+
+# Enable deb-src lines
+d-i apt-setup/local0/source boolean true
+# URL to the public key of the local repository; you must provide a key or
+# apt will complain about the unauthenticated repository and so the
+# sources.list line will be left commented out
+d-i apt-setup/local0/key string http://layer-acht.org/ac583520.asc
+#FIXME: this should work... but the below is secure :)
+#d-i apt-setup/local0/key string file:///hd-media/ac583520.asc
+
+
+# By default the installer requires that repositories be authenticated
+# using a known gpg key. This setting can be used to disable that
+# authentication. Warning: Insecure, not recommended.
+#d-i debian-installer/allow_unauthenticated string true
+
+### Account setup
+# Skip creation of a root account (normal user account will be able to
+# use sudo).
+#d-i passwd/root-login boolean false
+# Alternatively, to skip creation of a normal user account.
+#d-i passwd/make-user boolean false
+
+# Root password, either in clear text
+d-i passwd/root-password password fai
+d-i passwd/root-password-again password fai
+# or encrypted using an MD5 hash.
+#d-i passwd/root-password-crypted password [MD5 hash]
+
+d-i passwd/make-user boolean false
+# To create a normal user account.
+#d-i passwd/user-fullname string Debian User
+#d-i passwd/username string debian
+# Normal user's password, either in clear text
+#d-i passwd/user-password password fai
+#d-i passwd/user-password-again password fai
+# or encrypted using an MD5 hash.
+#d-i passwd/user-password-crypted password [MD5 hash]
+
+### Base system installation
+# Select the initramfs generator used to generate the initrd for 2.6 kernels.
+#d-i base-installer/kernel/linux/initramfs-generators string yaird
+
+### Boot loader installation
+# Grub is the default boot loader (for x86). If you want lilo installed
+# instead, uncomment this:
+#d-i grub-installer/skip boolean true
+
+# This is fairly safe to set, it makes grub install automatically to the MBR
+# if no other operating system is detected on the machine.
+d-i grub-installer/only_debian boolean true
+
+# This one makes grub-installer install to the MBR if it also finds some other
+# OS, which is less safe as it might not be able to boot that other OS.
+d-i grub-installer/with_other_os boolean true
+
+# Alternatively, if you want to install to a location other than the mbr,
+# uncomment and edit these lines:
+#d-i grub-installer/only_debian boolean false
+#d-i grub-installer/with_other_os boolean false
+#d-i grub-installer/bootdev  string (hd0,0)
+# To install grub to multiple disks:
+#d-i grub-installer/bootdev  string (hd0,0) (hd1,0) (hd2,0)
+
+### Package selection
+#tasksel tasksel/first multiselect standard, laptop
+tasksel tasksel/first multiselect standard, desktop, laptop
+#tasksel tasksel/first multiselect standard, web-server
+#tasksel tasksel/first multiselect standard, kde-desktop
+
+# Individual additional packages to install
+d-i pkgsel/include string openssh-server fai-client subversion cfengine2 less vim pwgen
+
+# Some versions of the installer can report back on what software you have
+# installed, and what software you use. The default is not to report back,
+# but sending reports helps the project determine what software is most
+# popular and include it on CDs.
+popularity-contest popularity-contest/participate boolean true
+
+### Finishing up the first stage install
+# Avoid that last message about the install being complete.
+#d-i finish-install/reboot_in_progress note
+
+# This will prevent the installer from ejecting the CD during the reboot,
+# which is useful in some situations.
+#d-i cdrom-detect/eject boolean false
+
+### X configuration
+# X can detect the right driver for some cards, but if you're preseeding,
+# you override whatever it chooses. Still, vesa will work most places.
+#xserver-xorg xserver-xorg/config/device/driver select vesa
+
+# A caveat with mouse autodetection is that if it fails, X will retry it
+# over and over. So if it's preseeded to be done, there is a possibility of
+# an infinite loop if the mouse is not autodetected.
+xserver-xorg xserver-xorg/autodetect_mouse boolean true
+
+# Monitor autodetection is recommended.
+xserver-xorg xserver-xorg/autodetect_monitor boolean true
+# Uncomment if you have an LCD display.
+xserver-xorg xserver-xorg/config/monitor/lcd boolean true
+# X has three configuration paths for the monitor. Here's how to preseed
+# the "medium" path, which is always available. The "simple" path may not
+# be available, and the "advanced" path asks too many questions.
+xserver-xorg xserver-xorg/config/monitor/selection-method \
+       select medium
+xserver-xorg xserver-xorg/config/monitor/mode-list \
+       select 1024x768 @ 60 Hz
+
+### Preseeding other packages
+# Depending on what software you choose to install, or if things go wrong
+# during the installation process, it's possible that other questions may
+# be asked. You can preseed those too, of course. To get a list of every
+# possible question that could be asked during an install, do an
+# installation, and then run these commands:
+#   debconf-get-selections --installer > file
+#   debconf-get-selections >> file
+
+
+#### Advanced options
+### Running custom commands during the installation
+# d-i preseeding is inherently not secure. Nothing in the installer checks
+# for attempts at buffer overflows or other exploits of the values of a
+# preconfiguration file like this one. Only use preconfiguration files from
+# trusted locations! To drive that home, and because it's generally useful,
+# here's a way to run any shell command you'd like inside the installer,
+# automatically.
+
+# This first command is run as early as possible, just after
+# preseeding is read.
+#d-i preseed/early_command string anna-install some-udeb
+
+# This command is run just before the install finishes, but when there is
+# still a usable /target directory. You can chroot to /target and use it
+# directly, or use the apt-install and in-target commands to easily install
+# packages and run commands in the target system.
+#d-i preseed/late_command string apt-install zsh; in-target chsh -s /bin/zsh
+d-i preseed/late_command string cp /hd-media/final_setup.sh /target/root/
+

Added: fai-config/doc/src/syslinux.cfg
===================================================================
--- fai-config/doc/src/syslinux.cfg	                        (rev 0)
+++ fai-config/doc/src/syslinux.cfg	2008-07-14 22:56:48 UTC (rev 104)
@@ -0,0 +1,2 @@
+default vmlinuz
+append initrd=initrd.gz ramdisk_size=15360 root=/dev/rd/0 devfs=mount,dall rw DEBCONF_PRIORITY=high d-i debian-installer/locale=C  console-keymaps-at/keymap=us preseed/file=/hd-media/preseed.cfg 

Copied: fai-config/doc/udldap-todo/setup_fai.sh (from rev 101, fai-config/setup_fai.sh)
===================================================================
--- fai-config/doc/udldap-todo/setup_fai.sh	                        (rev 0)
+++ fai-config/doc/udldap-todo/setup_fai.sh	2008-07-14 22:56:48 UTC (rev 104)
@@ -0,0 +1,72 @@
+#! /bin/bash
+
+# Copyright 2006-2007 Holger Levsen 
+# released under the GPLv=2
+#
+
+
+cat > /etc/apt/sources.list <<-EOF
+deb http://ftp.debian.org/debian/ etch main contrib
+deb-src http://ftp.debian.org/debian/ etch main contrib
+
+deb http://security.debian.org/ etch/updates main contrib
+deb-src http://security.debian.org/ etch/updates main contrib
+
+deb http://cmburns.debconf.org/dc-admin/archive/ etch/i386/
+deb http://cmburns.debconf.org/dc-admin/archive/ etch/all/
+
+EOF
+
+cat > /etc/nsswitch.conf <<-EOF
+# /etc/nsswitch.conf
+#
+
+passwd:         db compat
+group:          compat db
+shadow:         db compat
+
+hosts:          files dns
+networks:       files
+
+protocols:      db files
+services:       db files
+ethers:         db files
+rpc:            db files
+
+netgroup:       nis
+EOF
+
+
+echo "run 'ud-host -h cmburns' on cmburns and add the host"
+echo ""
+cat /etc/ssh/ssh_host_*.pub
+read
+
+
+ssh-keygen -t rsa -b 1024
+cat /root/.ssh/id_rsa.pub
+echo ""
+echo "paste this into cmburns"
+read
+
+aptitude update
+
+DEBCONF_FRONTEND=noninteractive  DEBIAN_FRONTEND=noninteractive aptitude install ssh vim fai-client subversion userdir-ldap sudo
+
+aptitude upgrade
+
+# workaround Ganneffs lazyness
+sed -i 's/PYTHON_VER="2\.3"/PYTHON_VER="2\.4"/' /var/lib/dpkg/info/userdir-ldap.postinst
+dpkg --configure -a
+
+sed -i 's/ChallengeResponseAuthentication no/ChallengeResponseAuthentication yes/' /etc/ssh/sshd_config
+
+ssh -o "StrictHostKeyChecking no" db
+ud-replicate
+
+echo 'FAI_CONFIG_SRC="svn://svn.debian.org/svn/debconf-video/trunk/fai-config"' >> /etc/fai/fai.conf 
+
+echo
+echo "now run 'fai -N softupdate'"
+echo
+

Copied: fai-config/doc/udldap-todo/setup_fai_dc7.sh (from rev 101, fai-config/setup_fai_dc7.sh)
===================================================================
--- fai-config/doc/udldap-todo/setup_fai_dc7.sh	                        (rev 0)
+++ fai-config/doc/udldap-todo/setup_fai_dc7.sh	2008-07-14 22:56:48 UTC (rev 104)
@@ -0,0 +1,77 @@
+#! /bin/bash
+
+# Copyright 2006-2007 Holger Levsen 
+# released under the GPLv=2
+#
+
+
+cat > /etc/apt/sources.list <<-EOF
+deb http://ftp.debian.org/debian/ etch main contrib
+deb-src http://ftp.debian.org/debian/ etch main contrib
+
+deb http://security.debian.org/ etch/updates main contrib
+deb-src http://security.debian.org/ etch/updates main contrib
+
+deb http://cmburns.debconf.org/dc-admin/archive/ etch/i386/
+deb http://cmburns.debconf.org/dc-admin/archive/ etch/all/
+
+EOF
+
+cat > /etc/resolv.conf <<-EOF
+search internal.dc7.debconf.org debconf.org
+nameserver 172.16.0.1
+EOF
+
+cat > /etc/nsswitch.conf <<-EOF
+# /etc/nsswitch.conf
+#
+
+passwd:         db compat
+group:          compat db
+shadow:         db compat
+
+hosts:          files dns
+networks:       files
+
+protocols:      db files
+services:       db files
+ethers:         db files
+rpc:            db files
+
+netgroup:       nis
+EOF
+
+
+echo "run 'ud-host -h cmburns' on cmburns and add the host"
+echo ""
+cat /etc/ssh/ssh_host_*.pub
+read
+
+
+ssh-keygen -t rsa -b 1024
+cat /root/.ssh/id_rsa.pub
+echo ""
+echo "paste this into cmburns"
+read
+
+aptitude update
+
+DEBCONF_FRONTEND=noninteractive  DEBIAN_FRONTEND=noninteractive aptitude install ssh vim fai-client subversion userdir-ldap sudo
+
+aptitude upgrade
+
+# workaround Ganneffs lazyness
+sed -i 's/PYTHON_VER="2\.3"/PYTHON_VER="2\.4"/' /var/lib/dpkg/info/userdir-ldap.postinst
+dpkg --configure -a
+
+sed -i 's/ChallengeResponseAuthentication no/ChallengeResponseAuthentication yes/' /etc/ssh/sshd_config
+
+ssh -o "StrictHostKeyChecking no" db
+ud-replicate
+
+echo 'FAI_CONFIG_SRC="svn://svn.debian.org/svn/debconf-video/trunk/fai-config"' >> /etc/fai/fai.conf 
+
+echo
+echo "now run 'fai -N softupdate'"
+echo
+

Deleted: fai-config/setup_fai.sh
===================================================================
--- fai-config/setup_fai.sh	2008-07-11 18:43:26 UTC (rev 103)
+++ fai-config/setup_fai.sh	2008-07-14 22:56:48 UTC (rev 104)
@@ -1,72 +0,0 @@
-#! /bin/bash
-
-# Copyright 2006-2007 Holger Levsen 
-# released under the GPLv=2
-#
-
-
-cat > /etc/apt/sources.list <<-EOF
-deb http://ftp.debian.org/debian/ etch main contrib
-deb-src http://ftp.debian.org/debian/ etch main contrib
-
-deb http://security.debian.org/ etch/updates main contrib
-deb-src http://security.debian.org/ etch/updates main contrib
-
-deb http://cmburns.debconf.org/dc-admin/archive/ etch/i386/
-deb http://cmburns.debconf.org/dc-admin/archive/ etch/all/
-
-EOF
-
-cat > /etc/nsswitch.conf <<-EOF
-# /etc/nsswitch.conf
-#
-
-passwd:         db compat
-group:          compat db
-shadow:         db compat
-
-hosts:          files dns
-networks:       files
-
-protocols:      db files
-services:       db files
-ethers:         db files
-rpc:            db files
-
-netgroup:       nis
-EOF
-
-
-echo "run 'ud-host -h cmburns' on cmburns and add the host"
-echo ""
-cat /etc/ssh/ssh_host_*.pub
-read
-
-
-ssh-keygen -t rsa -b 1024
-cat /root/.ssh/id_rsa.pub
-echo ""
-echo "paste this into cmburns"
-read
-
-aptitude update
-
-DEBCONF_FRONTEND=noninteractive  DEBIAN_FRONTEND=noninteractive aptitude install ssh vim fai-client subversion userdir-ldap sudo
-
-aptitude upgrade
-
-# workaround Ganneffs lazyness
-sed -i 's/PYTHON_VER="2\.3"/PYTHON_VER="2\.4"/' /var/lib/dpkg/info/userdir-ldap.postinst
-dpkg --configure -a
-
-sed -i 's/ChallengeResponseAuthentication no/ChallengeResponseAuthentication yes/' /etc/ssh/sshd_config
-
-ssh -o "StrictHostKeyChecking no" db
-ud-replicate
-
-echo 'FAI_CONFIG_SRC="svn://svn.debian.org/svn/debconf-video/trunk/fai-config"' >> /etc/fai/fai.conf 
-
-echo
-echo "now run 'fai -N softupdate'"
-echo
-

Deleted: fai-config/setup_fai_dc7.sh
===================================================================
--- fai-config/setup_fai_dc7.sh	2008-07-11 18:43:26 UTC (rev 103)
+++ fai-config/setup_fai_dc7.sh	2008-07-14 22:56:48 UTC (rev 104)
@@ -1,77 +0,0 @@
-#! /bin/bash
-
-# Copyright 2006-2007 Holger Levsen 
-# released under the GPLv=2
-#
-
-
-cat > /etc/apt/sources.list <<-EOF
-deb http://ftp.debian.org/debian/ etch main contrib
-deb-src http://ftp.debian.org/debian/ etch main contrib
-
-deb http://security.debian.org/ etch/updates main contrib
-deb-src http://security.debian.org/ etch/updates main contrib
-
-deb http://cmburns.debconf.org/dc-admin/archive/ etch/i386/
-deb http://cmburns.debconf.org/dc-admin/archive/ etch/all/
-
-EOF
-
-cat > /etc/resolv.conf <<-EOF
-search internal.dc7.debconf.org debconf.org
-nameserver 172.16.0.1
-EOF
-
-cat > /etc/nsswitch.conf <<-EOF
-# /etc/nsswitch.conf
-#
-
-passwd:         db compat
-group:          compat db
-shadow:         db compat
-
-hosts:          files dns
-networks:       files
-
-protocols:      db files
-services:       db files
-ethers:         db files
-rpc:            db files
-
-netgroup:       nis
-EOF
-
-
-echo "run 'ud-host -h cmburns' on cmburns and add the host"
-echo ""
-cat /etc/ssh/ssh_host_*.pub
-read
-
-
-ssh-keygen -t rsa -b 1024
-cat /root/.ssh/id_rsa.pub
-echo ""
-echo "paste this into cmburns"
-read
-
-aptitude update
-
-DEBCONF_FRONTEND=noninteractive  DEBIAN_FRONTEND=noninteractive aptitude install ssh vim fai-client subversion userdir-ldap sudo
-
-aptitude upgrade
-
-# workaround Ganneffs lazyness
-sed -i 's/PYTHON_VER="2\.3"/PYTHON_VER="2\.4"/' /var/lib/dpkg/info/userdir-ldap.postinst
-dpkg --configure -a
-
-sed -i 's/ChallengeResponseAuthentication no/ChallengeResponseAuthentication yes/' /etc/ssh/sshd_config
-
-ssh -o "StrictHostKeyChecking no" db
-ud-replicate
-
-echo 'FAI_CONFIG_SRC="svn://svn.debian.org/svn/debconf-video/trunk/fai-config"' >> /etc/fai/fai.conf 
-
-echo
-echo "now run 'fai -N softupdate'"
-echo
-




More information about the Debconf-video-commits mailing list