X-Git-Url: https://git.hcoop.net/hcoop/zz_old/machine-template.git/blobdiff_plain/4b676b8a4dfded9769b5e1081e109b2335b4425e..0db78dd3ba225ec66fe8d89ac74b739b1e97be1e:/preseed/preseed-test-0.cfg diff --git a/preseed/preseed-test-0.cfg b/preseed/preseed-test-0.cfg index 3bed968..378bbb6 100644 --- a/preseed/preseed-test-0.cfg +++ b/preseed/preseed-test-0.cfg @@ -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,29 @@ 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/comment string local server +d-i apt-setup/local0/repository string \ + http://debian.hcoop.net/ stable main hcoop-config +d-i apt-setup/local0/comment string HCoop native packages +# Enable deb-src lines +d-i apt-setup/local0/source boolean true +# backports +d-i apt-setup/local1/repository string \ + http://debian.hcoop.net/ squeeze-backports main +d-i apt-setup/local1/comment string HCoop backport packages # Enable deb-src lines -#d-i apt-setup/local0/source boolean true +d-i apt-setup/local1/source boolean true +# Official backports +d-i apt-setup/local2/repository string \ + http://backports.debian.org/debian-backports squeeze-backports main +d-i apt-setup/local2/comment string Debian backports +# Enable deb-src lines +d-i apt-setup/local2/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 +356,21 @@ 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 kstart ssmtp libpam-afs-session openafs-krb5 ferm libnss-afs hcoop-nsswitch-config hcoop-common-config hcoop-firewall-config hcoop-krb5-config hcoop-openssh-server-config \ + mlton-compiler mlton-tools libssl-dev libpcre3-dev # domtool deps, a metapackage would be useful here # 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 +406,31 @@ 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 + +# warning: used to shut the installer up, but we're actually shipping +# a static kerberos config! +krb5-config krb5-config/add_servers_realm string HCOOP.NET +# krb5 1.10 still does not support distributing the admin server +# location via DNS. Remove when it does. +krb5-config krb5-config/admin_server string kerberos-adm.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