summaryrefslogtreecommitdiff
path: root/content/desktop/web/preseed.cfg
blob: 37319b73047ee0e1974eb11304696aa00404a26d (plain)
  1. # install the lightweight Xfce desktop, and...
  2. # * include Iceweasel web browser with all locales and security plugins
  3. # * include crypto helper tools
  4. # * include CPU firmware and automatic maintenance routines
  5. # * fix include recommendations of other packages (uuid, bash)
  6. # * apply security updates immediately after install
  7. # * exclude support for print via Bluetooth
  8. tasksel tasksel/desktop multiselect xfce
  9. tasksel tasksel/first multiselect laptop
  10. #xfce4-session tango-icon-theme lightdm
  11. #iceweasel iceweasel-l10n-all xul-ext-noscript xul-ext-cookie-monster
  12. #parcimonie haveged
  13. #firmware-linux unattended-upgrades
  14. #uuid-runtime bash-completion
  15. #-bluez-cups
  16. d-i pkgsel/include string xfce4-session tango-icon-theme lightdm iceweasel iceweasel-l10n-all xul-ext-noscript xul-ext-cookie-monster parcimonie haveged firmware-linux unattended-upgrades uuid-runtime bash-completion -bluez-cups
  17. d-i pkgsel/upgrade select safe-upgrade
  18. # setup harddrive with full disk encryption
  19. # * overwrite any existing data without warning
  20. partman-auto partman-auto/method string crypto
  21. d-i partman-lvm/device_remove_lvm boolean true
  22. d-i partman-md/device_remove_md boolean true
  23. d-i partman-lvm/confirm boolean true
  24. d-i partman-lvm/confirm_nooverwrite boolean true
  25. d-i partman-auto/choose_recipe select multi
  26. d-i partman-partitioning/confirm_write_new_label boolean true
  27. d-i partman/choose_partition select finish
  28. d-i partman/confirm boolean true
  29. d-i partman/confirm_nooverwrite boolean true
  30. # silence misc. questions
  31. # * attempt to auto-detect hardware
  32. # * domain name irrelevant on desktop host without MTA
  33. # * use CDN for package updates
  34. # * disable direct root login (use sudo instead)
  35. # * report usage statistics back to Debian developers
  36. d-i netcfg/choose_interface select auto
  37. d-i netcfg/get_domain string unassigned-domain
  38. d-i mirror/country string manual
  39. d-i mirror/http/hostname string http.debian.net
  40. d-i mirror/http/directory string /debian
  41. d-i clock-setup/utc boolean true
  42. d-i clock-setup/ntp boolean true
  43. d-i apt-setup/services-select multiselect security, updates
  44. d-i apt-setup/security_host string security.debian.org
  45. d-i passwd/root-login boolean false
  46. popularity-contest popularity-contest/participate boolean true
  47. # tidy loose ends...
  48. # * fix mark auto-installed packages as such
  49. # * silence confusing panel question at initial XFCE login
  50. # * replace appfinder with mail-reader in default XFCE panel
  51. # * disable storing Xfce session at logout by default
  52. #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
  53. #cd /target/etc/xdg/xfce4/xfconf/xfce-perchannel-xml
  54. #cp -a ../../panel/default.xml xfce4-panel.xml && touch xfce4-panel.xml.orig
  55. #cp -a xfce4-panel.xml xfce4-panel.xml.old && sed -i -r -e 's,xfce4-appfinder,exo-mail-reader,' xfce4-panel.xml
  56. #cp -a xfce4-session.xml xfce4-session.xml.orig && sed -i -r -e 's,(<property name="general"[^>]*>),\1\n <property name="SaveOnExit" type="bool" value="false"/>,' xfce4-session.xml
  57. d-i preseed/late_command string 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 && cd /target/etc/xdg/xfce4/xfconf/xfce-perchannel-xml && cp -a ../../panel/default.xml xfce4-panel.xml && touch xfce4-panel.xml.orig && cp -a xfce4-panel.xml xfce4-panel.xml.old && sed -i -r -e 's,xfce4-appfinder,exo-mail-reader,' xfce4-panel.xml && cp -a xfce4-session.xml xfce4-session.xml.orig && sed -i -r -e 's,(<property name="general"[^>]*>),\1\n <property name="SaveOnExit" type="bool" value="false"/>,' xfce4-session.xml