From f0920f69445766fb224f2a5da91913ba85b445f7 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Wed, 30 Sep 2015 01:08:39 +0200 Subject: [PATCH] Changing preseed again to add language support and cleanup a little more the installation. --- .../files/preseed/edubuntu-nomirror.seed | 16 +++++++++------- roles/kickstart/templates/preseed/edubuntu.seed | 12 +++++++----- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/roles/kickstart/files/preseed/edubuntu-nomirror.seed b/roles/kickstart/files/preseed/edubuntu-nomirror.seed index 3fb9ee9..58b180e 100644 --- a/roles/kickstart/files/preseed/edubuntu-nomirror.seed +++ b/roles/kickstart/files/preseed/edubuntu-nomirror.seed @@ -2,7 +2,7 @@ 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 -d-i debian-installer/supported-locales string it_IT it_IT@euro en_US en_US.UTF-8 +d-i debian-installer/supported-locales multiselect it_IT it_IT@euro en_US en_US.UTF-8 # Keyboard settings d-i console-setup/ask_detect boolean false @@ -21,7 +21,7 @@ d-i hw-detect/load_firmware boolean true # Setting up repositories from local mirror d-i mirror/country string manual d-i mirror/protocol string http -d-i mirror/http/hostname string archive.ubuntu.com +d-i mirror/http/hostname string it.archive.ubuntu.com d-i mirror/http/directory string /ubuntu d-i mirror/http/proxy string d-i apt-setup/extras boolean true @@ -68,16 +68,18 @@ d-i user-setup/encrypt-home boolean false d-i base-installer/kernel/image string linux-generic # Install the Edubuntu desktop. -tasksel tasksel/first multiselect standard, ubuntu-desktop, edubuntu-desktop-gnome +tasksel tasksel/desktop multiselect edubuntu-desktop-gnome +tasksel tasksel/first multiselect standard, edubuntu-desktop-gnome #tasksel tasksel/first seen false # No asking for installation in language -d-i pkgsel/install-language-support boolean false +d-i pkgsel/install-language-support boolean true +d-i pkgsel/ignore-incomplete-language-support boolean true # Policy to upgrade: none d-i pkgsel/update-policy select none -# Upgrade after installation: no +# UPgrade after installation: no d-i pkgsel/upgrade select none # Language pack selection @@ -87,10 +89,10 @@ d-i pkgsel/language-packs multiselect it, en popularity-contest popularity-contest/participate boolean false # Install both GNOME and KDE translation packages. -d-i pkgsel/language-pack-patterns string language-pack-gnome-$LL language-pack-kde-$LL kde-i18n-$LL +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 # Adding libreoffice and ansible -d-i pkgsel/include string openssh-server libreoffice libreoffice-l10n-it libreoffice-help-it firefox-locale-it ansible vim screen git curl ubuntu-edu-secondary +d-i pkgsel/include string openssh-server libreoffice ansible vim screen git curl virtualbox-guest-dkms # Grub installation on MBR d-i grub-installer/only_debian boolean true diff --git a/roles/kickstart/templates/preseed/edubuntu.seed b/roles/kickstart/templates/preseed/edubuntu.seed index da00856..e5df61d 100644 --- a/roles/kickstart/templates/preseed/edubuntu.seed +++ b/roles/kickstart/templates/preseed/edubuntu.seed @@ -2,7 +2,7 @@ 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 -d-i debian-installer/supported-locales string it_IT it_IT@euro en_US en_US.UTF-8 +d-i debian-installer/supported-locales multiselect it_IT it_IT@euro en_US en_US.UTF-8 # Keyboard settings d-i console-setup/ask_detect boolean false @@ -68,11 +68,13 @@ d-i user-setup/encrypt-home boolean false d-i base-installer/kernel/image string linux-generic # Install the Edubuntu desktop. -tasksel tasksel/first multiselect standard, ubuntu-desktop, edubuntu-desktop-gnome, ubuntu-edu-secondary +tasksel tasksel/desktop multiselect edubuntu-desktop-gnome +tasksel tasksel/first multiselect standard, edubuntu-desktop-gnome #tasksel tasksel/first seen false # No asking for installation in language -d-i pkgsel/install-language-support boolean false +d-i pkgsel/install-language-support boolean true +d-i pkgsel/ignore-incomplete-language-support boolean true # Policy to upgrade: none d-i pkgsel/update-policy select none @@ -87,10 +89,10 @@ d-i pkgsel/language-packs multiselect it, en popularity-contest popularity-contest/participate boolean false # Install both GNOME and KDE translation packages. -d-i pkgsel/language-pack-patterns string language-pack-gnome-$LL language-pack-kde-$LL kde-i18n-$LL +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 # Adding libreoffice and ansible -d-i pkgsel/include string openssh-server libreoffice libreoffice-l10n-it libreoffice-help-it firefox-locale-it ansible vim screen git curl +d-i pkgsel/include string openssh-server libreoffice ansible vim screen git curl # Grub installation on MBR d-i grub-installer/only_debian boolean true