X-Git-Url: https://git.hcoop.net/hcoop/zz_old/machine-template.git/blobdiff_plain/be97db9e2c54ae77d5cf40ca44721597aa79f8a1..fca2af6809b411b11aa9a3af3597af35fd8236ca:/preseed/preseed-test-0.cfg diff --git a/preseed/preseed-test-0.cfg b/preseed/preseed-test-0.cfg index 1af01b4..d95886d 100644 --- a/preseed/preseed-test-0.cfg +++ b/preseed/preseed-test-0.cfg @@ -54,7 +54,7 @@ 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 testkvm1 +#d-i netcfg/get_hostname string testkvm1 d-i netcfg/get_domain string hcoop.net # Disable that annoying WEP key dialog. @@ -96,7 +96,7 @@ d-i mirror/suite string squeeze d-i passwd/make-user boolean false # Root password, either in clear text -d-i passwd/root-password password f00bar +#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 @@ -283,11 +330,11 @@ 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,7 +343,8 @@ d-i apt-setup/volatile_host string volatile.debian.org # 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 SSH server, Standard system utilities @@ -305,7 +353,7 @@ tasksel tasksel/first multiselect SSH server, Standard system utilities #tasksel tasksel/desktop multiselect kde, xfce # Individual additional packages to install -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 +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 safe-upgrade @@ -347,7 +395,7 @@ d-i finish-install/reboot_in_progress note libpam-runtime libpam-runtime/profiles multiselect krb5, unix, afs-session #debconf debconf/frontend select Dialog -debconf debconf/priority select low +debconf debconf/priority select critical #openafs-client openafs-client/run-client boolean true #openafs-client openafs-client/dynroot boolean true