Don't set hostname or initial root pw
[hcoop/zz_old/machine-template.git] / preseed / preseed-test-0.cfg
index 3bed968..d95886d 100644 (file)
@@ -36,7 +36,7 @@ d-i netcfg/choose_interface select auto
 
 # If you prefer to configure the network manually, uncomment this line and
 # the static network configuration below.
-#d-i netcfg/disable_dhcp boolean true
+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
@@ -45,17 +45,17 @@ d-i netcfg/choose_interface select auto
 #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
+d-i    netcfg/get_nameservers  string  216.187.125.130 216.187.123.131
+d-i    netcfg/get_ipaddress    string  69.90.123.72
+d-i    netcfg/get_netmask      string  255.255.255.224
+d-i    netcfg/get_gateway      string  69.90.123.65
+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 unassigned-hostname
-d-i netcfg/get_domain string unassigned-domain
+#d-i netcfg/get_hostname string testkvm1
+d-i netcfg/get_domain string hcoop.net
 
 # Disable that annoying WEP key dialog.
 d-i netcfg/wireless_wep string
@@ -84,19 +84,19 @@ d-i mirror/http/directory string /debian
 d-i mirror/http/proxy string
 
 # Suite to install.
-#d-i mirror/suite string testing
+d-i mirror/suite string squeeze
 # Suite to use for loading installer components (optional).
 #d-i mirror/udeb/suite string testing
 
 ### Account setup
 # Skip creation of a root account (normal user account will be able to
 # use sudo).
-#d-i passwd/root-login boolean false
+#d-i passwd/root-login boolean true
 # Alternatively, to skip creation of a normal user account.
-#d-i passwd/make-user boolean false
+d-i passwd/make-user boolean false
 
 # Root password, either in clear text
-#d-i passwd/root-password password r00tme
+#d-i passwd/root-password password f00bar
 #d-i passwd/root-password-again password r00tme
 # or encrypted using an MD5 hash.
 #d-i passwd/root-password-crypted password [MD5 hash]
@@ -161,7 +161,7 @@ d-i partman-lvm/confirm boolean true
 # - atomic: all files in one partition
 # - home:   separate /home partition
 # - multi:  separate /home, /usr, /var, and /tmp partitions
-d-i partman-auto/choose_recipe select atomic
+#d-i partman-auto/choose_recipe select atomic
 
 # Or provide a recipe of your own...
 # If you have a way to get a recipe file into the d-i environment, you can
@@ -188,6 +188,53 @@ d-i partman-auto/choose_recipe select atomic
 #                      method{ swap } format{ }                \
 #              .
 
+d-i partman-auto/expert_recipe string                         \
+hcoop-default :: \
+ \
+1 1 1 free \
+       $iflabel{ gpt } \
+       method{ biosgrub } . \
+ \
+128 512 256 ext2 \
+       $defaultignore{ } \
+       $bootable{ } \
+       method{ format } \
+       format{ } \
+       use_filesystem{ } \
+       filesystem{ ext2 } \
+       mountpoint{ /boot } . \
+ \
+500 3000 90000000 $default_filesystem \
+       $lvmok{ } \
+       $bootable{ } \
+       method{ format } \
+       format{ } \
+       use_filesystem{ } \
+       $default_filesystem{ } \
+       mountpoint{ / } . \
+ \
+5500 5000 5500 ext3 \
+       $lvmok{ } \
+       method{ format } \
+       format{ } \
+       use_filesystem{ } \
+       filesystem{ ext3 } \
+       mountpoint{ /var/cache/openafs } . \
+ \
+96 512 150% linux-swap \
+       $lvmok{ } \
+       method{ swap } \
+       format{ } . \
+ \
+1000 300 1500 $default_filesystem \
+       $lvmok{ } \
+       method{ format } \
+       format{ } \
+       use_filesystem{ } \
+       $default_filesystem{ } \
+       mountpoint{ /tmp } .
+
+
 # The full recipe format is documented in the file partman-auto-recipe.txt
 # included in the 'debian-installer' package or available from D-I source
 # repository. This also documents how to specify settings such as file
@@ -268,7 +315,7 @@ d-i partman/confirm_nooverwrite boolean true
 
 # The kernel image (meta) package to be installed; "none" can be used if no
 # kernel is to be installed.
-#d-i base-installer/kernel/image string linux-image-2.6-486
+d-i base-installer/kernel/image string linux-image-2.6-amd64
 
 ### Apt setup
 # You can choose to install non-free and contrib software.
@@ -278,16 +325,16 @@ d-i partman/confirm_nooverwrite boolean true
 #d-i apt-setup/use_mirror boolean false
 # Select which update services to use; define the mirrors to be used.
 # Values shown below are the normal defaults.
-#d-i apt-setup/services-select multiselect security, volatile
-#d-i apt-setup/security_host string security.debian.org
-#d-i apt-setup/volatile_host string volatile.debian.org
+d-i apt-setup/services-select multiselect security, volatile
+d-i apt-setup/security_host string security.debian.org
+d-i apt-setup/volatile_host string volatile.debian.org
 
 # Additional repositories, local[0-9] available
-#d-i apt-setup/local0/repository string \
-#       http://local.server/debian stable main
+d-i apt-setup/local0/repository string \
+       http://debian.hcoop.net/ stable main hcoop-config
 #d-i apt-setup/local0/comment string local server
 # Enable deb-src lines
-#d-i apt-setup/local0/source boolean true
+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
@@ -296,19 +343,20 @@ d-i partman/confirm_nooverwrite boolean true
 # 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 boolean true
+# ul: THIS IS VERY VERY BAD AND MUST BE FIXME FIXME FIXME
+d-i debian-installer/allow_unauthenticated boolean true
 
 ### Package selection
-#tasksel tasksel/first multiselect standard, web-server
+tasksel        tasksel/first   multiselect     SSH server, Standard system utilities
 # If the desktop task is selected, install the kde and xfce desktops
 # instead of the default gnome desktop.
 #tasksel tasksel/desktop multiselect kde, xfce
 
 # Individual additional packages to install
-#d-i pkgsel/include string openssh-server build-essential
+d-i pkgsel/include string build-essential less sudo vim emacs23-nox etckeeper changetrack openssh-server debsums logcheck bzip2 denyhosts rkhunter openafs-client ntp nscd krb5-user libpam-krb5 ssmtp libpam-afs-session openafs-krb5 libnss-afs hcoop-nsswitch-config
 # Whether to upgrade packages after debootstrap.
 # Allowed values: none, safe-upgrade, full-upgrade
-#d-i pkgsel/upgrade select none
+d-i pkgsel/upgrade select safe-upgrade
 
 # 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,
@@ -344,6 +392,26 @@ d-i finish-install/reboot_in_progress note
 #   debconf-get-selections --installer > file
 #   debconf-get-selections >> file
 
+libpam-runtime libpam-runtime/profiles multiselect     krb5, unix, afs-session
+
+#debconf       debconf/frontend        select  Dialog
+debconf        debconf/priority        select  critical
+
+#openafs-client        openafs-client/run-client       boolean true
+#openafs-client        openafs-client/dynroot  boolean true
+
+openafs-client openafs-client/thiscell string  hcoop.net
+openafs-client openafs-client/cachesize        string  500000
+openafs-client openafs-client/fakestat boolean true
+
+krb5-config    krb5-config/add_servers_realm   string  HCOOP.NET
+
+ssmtp  ssmtp/root      string  logs
+ssmtp  ssmtp/rewritedomain     string  hcoop.net
+ssmtp  ssmtp/mailhub   string  mail
+
+rkhunter       rkhunter/cron_daily_run boolean true
+rkhunter       rkhunter/cron_db_update boolean true
 
 #### Advanced options
 ### Running custom commands during the installation