2015-09-30 10:14:28 +02:00
|
|
|
# No questions if possible
|
|
|
|
debconf debconf/priority string critical
|
|
|
|
|
2015-09-28 22:41:13 +02:00
|
|
|
# Localization - Italiano
|
|
|
|
d-i debian-installer/language string it
|
|
|
|
d-i debian-installer/locale string it_IT.UTF-8
|
|
|
|
d-i debian-installer/preferred-locale string it_IT.UTF-8
|
2015-09-30 01:08:39 +02:00
|
|
|
d-i debian-installer/supported-locales multiselect it_IT it_IT@euro en_US en_US.UTF-8
|
2015-09-29 00:40:09 +02:00
|
|
|
|
2015-09-28 22:41:13 +02:00
|
|
|
# Keyboard settings
|
|
|
|
d-i console-setup/ask_detect boolean false
|
|
|
|
d-i keyboard-configuration/layoutcode string it
|
2015-09-29 00:40:09 +02:00
|
|
|
|
2015-09-28 22:41:13 +02:00
|
|
|
# Network
|
|
|
|
d-i netcfg/choose_interface select auto
|
2015-09-29 00:40:09 +02:00
|
|
|
|
2015-09-28 22:41:13 +02:00
|
|
|
# Adjust the default hostname.
|
|
|
|
# Not specifying the hostname should ask for it at install-time.
|
|
|
|
#d-i netcfg/get_hostname string edubuntu
|
|
|
|
#d-i netcfg/get_hostname seen false
|
|
|
|
# Enabling non-free firmware
|
|
|
|
d-i hw-detect/load_firmware boolean true
|
2015-09-29 00:40:09 +02:00
|
|
|
|
2015-09-28 22:41:13 +02:00
|
|
|
# Setting up repositories from local mirror
|
|
|
|
d-i mirror/country string manual
|
|
|
|
d-i mirror/protocol string http
|
|
|
|
d-i mirror/http/hostname string {{ ansible_local.domain.serverfqdn }}
|
|
|
|
d-i mirror/http/directory string /ks/mirror/archive.ubuntu.com/ubuntu
|
|
|
|
d-i mirror/http/proxy string
|
|
|
|
d-i apt-setup/extras boolean true
|
2015-09-28 23:00:28 +02:00
|
|
|
d-i apt-setup/restricted boolean true
|
|
|
|
d-i apt-setup/universe boolean true
|
|
|
|
d-i apt-setup/backports boolean true
|
2015-09-28 23:20:17 +02:00
|
|
|
d-i apt-setup/non-free boolean true
|
|
|
|
d-i apt-setup/contrib boolean true
|
|
|
|
d-i apt-setup/services-select multiselect security, updates
|
|
|
|
d-i apt-setup/security_host string {{ ansible_local.domain.serverfqdn }}
|
|
|
|
d-i apt-setup/security_path string /ks/mirror/security.ubuntu.com/ubuntu
|
2015-09-29 00:40:09 +02:00
|
|
|
|
|
|
|
# Setup and enable libreoffice PPA
|
|
|
|
d-i apt-setup/local0/repository string http://{{ ansible_local.domain.mirrorpath }}ppa.launchpad.net/libreoffice/libreoffice-5-0/ubuntu trusty main
|
|
|
|
d-i apt-setup/local0/comment string LibreOffice Official PPA
|
|
|
|
d-i apt-setup/local0/key string http://keyserver.ubuntu.com:11371/pks/lookup?search=0x36E81C9267FD1383FCC4490983FBA1751378B444&op=get
|
|
|
|
|
|
|
|
# Setup and enable ansible PPA
|
|
|
|
d-i apt-setup/local1/repository string http://{{ ansible_local.domain.mirrorpath }}ppa.launchpad.net/ansible/ansible/ubuntu trusty main
|
|
|
|
d-i apt-setup/local1/comment string Ansible Official PPA
|
|
|
|
d-i apt-setup/local1/key string http://keyserver.ubuntu.com:11371/pks/lookup?search=0x6125E2A8C77F2818FB7BD15B93C4A3FD7BB9C367&op=get
|
|
|
|
|
|
|
|
# Time and date
|
|
|
|
d-i clock-setup/utc boolean true
|
2015-09-28 23:00:28 +02:00
|
|
|
d-i time/zone string Europe/Rome
|
|
|
|
d-i clock-setup/ntp boolean true
|
|
|
|
d-i clock-setup/ntp-server string {{ ansible_local.domain.ntpserver }}
|
2015-09-29 00:40:09 +02:00
|
|
|
|
2015-09-28 23:00:28 +02:00
|
|
|
# Partitioning
|
|
|
|
d-i partman-auto/init_automatically_partition select biggest_free
|
2015-09-28 23:20:17 +02:00
|
|
|
d-i partman-auto/disk string /dev/sda
|
|
|
|
d-i partman-auto/method string regular
|
|
|
|
d-i partman-lvm/device_remove_lvm boolean true
|
|
|
|
d-i partman-md/device_remove_md boolean true
|
|
|
|
d-i partman-auto/choose_recipe select atomic
|
|
|
|
d-i partman-partitioning/confirm_write_new_label boolean true
|
2015-09-28 23:00:28 +02:00
|
|
|
d-i partman/choose_partition select finish
|
|
|
|
d-i partman/confirm boolean true
|
2015-09-28 23:20:17 +02:00
|
|
|
d-i partman/confirm_nooverwrite boolean true
|
2015-09-28 23:00:28 +02:00
|
|
|
d-i partman/mount_style select uuid
|
|
|
|
d-i user-setup/encrypt-home boolean false
|
2015-09-29 00:40:09 +02:00
|
|
|
|
|
|
|
# Kernel installation
|
|
|
|
d-i base-installer/kernel/image string linux-generic
|
|
|
|
|
2015-09-28 22:41:13 +02:00
|
|
|
# Install the Edubuntu desktop.
|
2015-09-30 09:37:28 +02:00
|
|
|
tasksel tasksel/first multiselect edubuntu-desktop-gnome
|
2015-09-29 10:50:46 +02:00
|
|
|
|
2015-09-28 23:49:24 +02:00
|
|
|
# No asking for installation in language
|
2015-09-30 01:08:39 +02:00
|
|
|
d-i pkgsel/install-language-support boolean true
|
|
|
|
d-i pkgsel/ignore-incomplete-language-support boolean true
|
2015-09-30 20:19:31 +02:00
|
|
|
pkgsel pkgsel/ignore-incomplete-language-support boolean true
|
2015-09-29 10:50:46 +02:00
|
|
|
|
|
|
|
# Policy to upgrade: none
|
|
|
|
d-i pkgsel/update-policy select none
|
|
|
|
|
2015-09-29 11:26:18 +02:00
|
|
|
# UPgrade after installation: no
|
|
|
|
d-i pkgsel/upgrade select none
|
|
|
|
|
2015-09-28 22:41:13 +02:00
|
|
|
# Language pack selection
|
2015-09-28 23:49:24 +02:00
|
|
|
d-i pkgsel/language-packs multiselect it, en
|
2015-09-29 10:50:46 +02:00
|
|
|
|
2015-09-28 22:41:13 +02:00
|
|
|
# Disable popularity contest
|
|
|
|
popularity-contest popularity-contest/participate boolean false
|
2015-09-29 10:50:46 +02:00
|
|
|
|
2015-09-28 22:41:13 +02:00
|
|
|
# Install both GNOME and KDE translation packages.
|
2015-09-30 01:08:39 +02:00
|
|
|
d-i pkgsel/language-pack-patterns string language-pack-gnome-$LL language-pack-kde-$LL kde-i18n-$LL libreoffice-help-$LL libreoffice-l10n-$LL firefox-locale-$LL gimp-help-$LL thunderbird-locale-$LL
|
2015-09-29 10:50:46 +02:00
|
|
|
|
2015-09-28 22:41:13 +02:00
|
|
|
# Adding libreoffice and ansible
|
2015-09-30 10:09:10 +02:00
|
|
|
d-i pkgsel/include string openssh-server libreoffice ansible vim screen git curl cifs-utils ubuntu-edu-secondary libnss-myhostname
|
|
|
|
|
|
|
|
# Post installation tasks
|
|
|
|
# Update system
|
2015-09-30 13:04:01 +02:00
|
|
|
d-i preseed/late_command string in-target apt-get -y upgrade; \
|
|
|
|
in-target apt-get -y dist-upgrade; \
|
|
|
|
in-target apt-get -y purge libnss-mdns unity-webapps-common zeitgeist-core zeitgeist-datahub; \
|
|
|
|
in-target apt-get -y autoremove; \
|
|
|
|
in-target sed -i'' -e 's/ubuntu/gnome-fallback/g' /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
|
2015-09-29 10:50:46 +02:00
|
|
|
|
2015-09-28 22:41:13 +02:00
|
|
|
# Grub installation on MBR
|
2015-09-28 23:49:24 +02:00
|
|
|
d-i grub-installer/only_debian boolean true
|
2015-09-29 17:02:56 +02:00
|
|
|
d-i grub-installer/bootdev string /dev/sda
|
2015-09-30 10:09:10 +02:00
|
|
|
|
|
|
|
# No reboot message
|
|
|
|
d-i finish-install/reboot_in_progress note
|