summaryrefslogtreecommitdiff
path: root/skel/preseed.cfg.in
blob: b210ae3b5f2b456bf5e024d54edefeef769842b6 (plain)
  1. __PKGDESC__
  2. tasksel tasksel/desktop multiselect xfce
  3. tasksel tasksel/first multiselect laptop
  4. d-i pkgsel/include string __PKGLIST__
  5. # apply security updates immediately after install
  6. d-i pkgsel/upgrade select safe-upgrade
  7. # setup harddrive with full disk encryption
  8. # * overwrite any existing data without warning
  9. partman-auto partman-auto/method string crypto
  10. d-i partman-lvm/device_remove_lvm boolean true
  11. d-i partman-md/device_remove_md boolean true
  12. d-i partman-lvm/confirm boolean true
  13. d-i partman-lvm/confirm_nooverwrite boolean true
  14. d-i partman-auto/choose_recipe select multi
  15. d-i partman-partitioning/confirm_write_new_label boolean true
  16. d-i partman/choose_partition select finish
  17. d-i partman/confirm boolean true
  18. d-i partman/confirm_nooverwrite boolean true
  19. # silence misc. questions
  20. # * attempt to auto-detect hardware
  21. # * domain name irrelevant on desktop host without MTA
  22. # * use CDN for package updates
  23. # * disable direct root login (use sudo instead)
  24. # * report usage statistics back to Debian developers
  25. d-i netcfg/choose_interface select auto
  26. d-i netcfg/get_domain string unassigned-domain
  27. d-i mirror/country string manual
  28. d-i mirror/http/hostname string http.debian.net
  29. d-i mirror/http/directory string /debian
  30. d-i clock-setup/utc boolean true
  31. d-i clock-setup/ntp boolean true
  32. d-i apt-setup/services-select multiselect security, updates
  33. d-i apt-setup/security_host string security.debian.org
  34. d-i passwd/root-login boolean false
  35. popularity-contest popularity-contest/participate boolean true
  36. # enable unattended-upgrades
  37. unattended-upgrades unattended-upgrades/enable_auto_updates boolean true
  38. # tidy loose ends...
  39. # * fix mark auto-installed packages as such
  40. # * for any file edited or created, preserve a backup with suffix .orig
  41. # * silence confusing panel question at initial XFCE login
  42. # * replace appfinder with mail-reader in default XFCE panel
  43. # * disable storing Xfce session at logout by default
  44. #set -e
  45. #chroot /target apt-mark auto $(chroot /target apt-mark showmanual | grep '^lib') acpi acpi-support-base acpid adduser apt apt-utils aptitude-common base-files base-passwd bash bash-completion bsdmainutils bsdutils busybox coreutils cpio cron dash debconf debconf-i18n debian-archive-keyring debianutils diffutils dmidecode dpkg e2fslibs e2fsprogs findutils fonts-freefont-ttf gcc-4.7-base gnupg gpgv grep groff-base grub-common gzip hostname ifupdown initramfs-tools initscripts insserv install-info iproute isc-dhcp-client isc-dhcp-common keyboard-configuration kmod laptop-detect linux-image-amd64 locales login logrotate lsb-base mawk mount multiarch-support ncurses-base ncurses-bin net-tools netbase netcat-traditional passwd pciutils perl-base procps readline-common rsyslog sed sensible-utils sysv-rc sysvinit sysvinit-utils tar tasksel tasksel-data tzdata udev usbutils util-linux uuid-runtime vim-common xz-utils zlib1g
  46. #_backup() { set -e; [ -e "$1.orig" ] || if [ -e "$1" ]; then cp -a "$1" "$1.orig"; else touch "$1.orig"; fi }
  47. #_clone() { set -e; _backup "$2"; cp -a "$1" "$2" }
  48. #cd /target/etc/xdg/xfce4/xfconf/xfce-perchannel-xml
  49. #_clone ../../panel/default.xml xfce4-panel.xml; sed -i -r -e 's,xfce4-appfinder,exo-mail-reader,' xfce4-panel.xml
  50. #_backup xfce4-session.xml; sed -i -r -e 's,(<property name="general"[^>]*>),\1\n <property name="SaveOnExit" type="bool" value="false"/>,' xfce4-session.xml
  51. d-i preseed/late_command string set -e;chroot /target apt-mark auto $(chroot /target apt-mark showmanual | grep '^lib') acpi acpi-support-base acpid adduser apt apt-utils aptitude-common base-files base-passwd bash bash-completion bsdmainutils bsdutils busybox coreutils cpio cron dash debconf debconf-i18n debian-archive-keyring debianutils diffutils dmidecode dpkg e2fslibs e2fsprogs findutils fonts-freefont-ttf gcc-4.7-base gnupg gpgv grep groff-base grub-common gzip hostname ifupdown initramfs-tools initscripts insserv install-info iproute isc-dhcp-client isc-dhcp-common keyboard-configuration kmod laptop-detect linux-image-amd64 locales login logrotate lsb-base mawk mount multiarch-support ncurses-base ncurses-bin net-tools netbase netcat-traditional passwd pciutils perl-base procps readline-common rsyslog sed sensible-utils sysv-rc sysvinit sysvinit-utils tar tasksel tasksel-data tzdata udev usbutils util-linux uuid-runtime vim-common xz-utils zlib1g;_orig() { set -e; [ -e "$1.orig" ] || if [ -e "$1" ]; then cp -a "$1" "$1.orig"; else touch "$1.orig"; fi };_clone() { set -e; _orig "$2"; cp -a "$1" "$2" };cd /target/etc/xdg/xfce4/xfconf/xfce-perchannel-xml;_clone ../../panel/default.xml xfce4-panel.xml; sed -i -r -e 's,xfce4-appfinder,exo-mail-reader,' xfce4-panel.xml;_orig xfce4-session.xml; sed -i -r -e 's,(<property name="general"[^>]*>),\1\n <property name="SaveOnExit" type="bool" value="false"/>,' xfce4-session.xml