# {{ ansible_managed }}
-#### Contents of the preconfiguration file (for squeeze)
+
+#### Contents of the preconfiguration file
### Localization
# Preseeding only locale sets language, country and locale.
d-i debian-installer/locale string fr_FR
# If you have a slow dhcp server and the installer times out waiting for
# it, this might be useful.
-#d-i netcfg/dhcp_timeout string 60
+d-i netcfg/dhcp_timeout string 60
# If you prefer to configure the network manually, uncomment this line and
# the static network configuration below.
#d-i mirror/protocol string ftp
d-i mirror/country string manual
#d-i mirror/http/hostname string 10.20.0.1
-d-i mirror/http/hostname string archive.ubuntu.com
-d-i mirror/http/directory string /ubuntu
-d-i mirror/http/proxy string
+d-i mirror/http/hostname string ftp.fr.debian.org
+d-i mirror/http/directory string /debian
+d-i mirror/http/proxy string http://{{ ansible_eth1.ipv4.address }}:3128/
# Alternatively: by default, the installer uses CC.archive.ubuntu.com where
# CC is the ISO-3166-2 code for the selected country. You can preseed this
#d-i mirror/http/mirror select CC.archive.ubuntu.com
# Suite to install.
-#d-i mirror/suite string squeeze
+d-i mirror/suite string stable
# Suite to use for loading installer components (optional).
#d-i mirror/udeb/suite string squeeze
# Components to use for loading installer components (optional).
# system labels, volume group names and which physical devices to include
# in a volume group.
-# This makes partman automatically partition without confirmation, provided
-# that you told it what to do using one of the methods above.
-d-i partman-partitioning/confirm_write_new_label boolean true
-d-i partman/choose_partition select finish
-d-i partman/confirm boolean true
-d-i partman/confirm_nooverwrite boolean true
-
## Partitioning using RAID
# The method should be set to "raid".
#d-i partman-auto/method string raid
#d-i apt-setup/services-select multiselect security
#d-i apt-setup/security_host string security.ubuntu.com
#d-i apt-setup/security_path string /ubuntu
+d-i apt-setup/non-free boolean true
+d-i apt-setup/contrib boolean true
+d-i apt-setup/services-select multiselect security
+d-i apt-setup/security_host string security.debian.org
+
+d-i apt-setup/local0/repository string deb http://http.debian.net/debian jessie-backports main
# Additional repositories, local[0-9] available
#d-i apt-setup/local0/repository string \
#d-i debian-installer/allow_unauthenticated boolean true
### Package selection
-tasksel tasksel/first multiselect ubuntu-desktop
+#tasksel tasksel/first multiselect ubuntu-desktop
#tasksel tasksel/first multiselect lamp-server, print-server
#tasksel tasksel/first multiselect kubuntu-desktop
-
+tasksel tasksel/first multiselect standard, print-server ,xfce-desktop
+d-i pkgsel/include string openssh-server vim-nox x11vnc ttf-mscorefonts-installer curl libnss-ldapd nslcd libpam-ccreds libnss-db nss-updatedb sudo-ldap nfs-common icedtea-plugin gcompris gcompris-sound-fr geogebra kdeedu vlc tuxpaint tuxmath tuxtype audacity playonlinux myspell-fr-gut kde-l10n-fr firmware-b43-installer galculator icedove icedove-l10n-fr xul-ext-adblock-plus flashplugin-nonfree
# Individual additional packages to install
#d-i pkgsel/include string openssh-server build-essential
#d-i pkgsel/include string openssh-server libnss-ldapd nfs-common nss-updatedb libpam-ccreds cairo-dock
# Whether to upgrade packages after debootstrap.
# Allowed values: none, safe-upgrade, full-upgrade
#d-i pkgsel/upgrade select none
-
# Language pack selection
d-i pkgsel/language-packs multiselect fr
# This one makes grub-installer install to the MBR if it also finds some other
# OS, which is less safe as it might not be able to boot that other OS.
d-i grub-installer/with_other_os boolean true
-
+d-i grub-installer/bootdev string default
# Alternatively, if you want to install to a location other than the mbr,
# uncomment and edit these lines:
#d-i grub-installer/only_debian boolean false
# select medium
#xserver-xorg xserver-xorg/config/monitor/mode-list \
# select 1024x768 @ 60 Hz
-
+#libnss-ldapd libnss-ldapd/nsswitch multiselect
+#nslcd nslcd/ldap-base string dc=ecole,dc=grenoble,dc=fr
+#nslcd nslcd/ldap-uris string ldap://ldap.ecole.grenoble.fr/
+# Services de nom à configurer :
+# Choices: aliases, ethers, group, hosts, netgroup, networks, passwd, protocols, rpc, services, shadow
+libnss-ldapd libnss-ldapd/nsswitch multiselect group, passwd, shadow
+libnss-ldapd:amd64 libnss-ldapd/nsswitch multiselect group, passwd, shadow
+# Faut-il supprimer LDAP de nsswitch.conf maintenant ?
+libnss-ldapd libnss-ldapd/clean_nsswitch boolean false
+libnss-ldapd:amd64 libnss-ldapd/clean_nsswitch boolean false
+nslcd nslcd/ldap-bindpw password
+nslcd nslcd/ldap-sasl-authzid string
+nslcd libraries/restart-without-asking boolean false
+# Services à redémarrer lors de la mise à niveau de nslcd :
+nslcd nslcd/restart-services string
+nslcd nslcd/ldap-sasl-mech select
+nslcd nslcd/ldap-base string {{ ldap_dc }}
+nslcd nslcd/ldap-uris string ldap://{{ ldap_server }}/
+nslcd nslcd/ldap-auth-type select none
+nslcd nslcd/ldap-sasl-krb5-ccname string /var/run/nslcd/nslcd.tkt
+nslcd nslcd/disable-screensaver error
+nslcd nslcd/ldap-sasl-authcid string
+nslcd nslcd/ldap-cacertfile string /etc/ssl/certs/ca-certificates.crt
+nslcd nslcd/ldap-sasl-secprops string
+nslcd nslcd/xdm-needs-restart error
+nslcd nslcd/ldap-sasl-realm string
+nslcd nslcd/ldap-starttls boolean false
+nslcd nslcd/ldap-reqcert select
+nslcd nslcd/ldap-binddn string
+# Erreur du redémarrage de certains services pour la mise à niveau de nslcd
+nslcd nslcd/restart-failed error
+unattended-upgrades unattended-upgrades/enable_auto_updates boolean true
### Preseeding other packages
# Depending on what software you choose to install, or if things go wrong
# during the installation process, it's possible that other questions may
d-i preseed/late_command string \
in-target /usr/bin/wget http://{{ ansible_eth1.ipv4.address }}/auto_configure.sh -O /root/auto_configure.sh; \
in-target /bin/sh /root/auto_configure.sh
+