diff --git a/kubuntu/computertruhe.seed b/kubuntu/computertruhe.seed index c10278d..c228d9e 100644 --- a/kubuntu/computertruhe.seed +++ b/kubuntu/computertruhe.seed @@ -40,24 +40,24 @@ d-i apt-setup/extras boolean true #d-i partman-auto/choose_recipe select atomic #d-i partman/default_filesystem string ext3 -#d-i partman/choose_partition select finish +d-i partman/choose_partition select finish # If one of the disks that are going to be automatically partitioned # contains an old LVM configuration, the user will normally receive a # warning. This can be preseeded away... -#d-i partman-lvm/device_remove_lvm boolean true +d-i partman-lvm/device_remove_lvm boolean true # The same applies to pre-existing software RAID array: -#d-i partman-md/device_remove_md boolean true +d-i partman-md/device_remove_md boolean true # And the same goes for the confirmation to write the lvm partitions. -#d-i partman-lvm/confirm boolean true -#d-i partman-lvm/confirm_nooverwrite boolean true +d-i partman-lvm/confirm boolean true +d-i partman-lvm/confirm_nooverwrite boolean true # Just in case, the positive answer to all other imagineable conformation questions: -#d-i partman-partitioning/confirm_write_new_label boolean true -#d-i partman/confirm boolean true -#d-i partman/confirm_nooverwrite boolean true -#d-i partman/confirm_write_new_label boolean true -#d-i partman-md/confirm boolean true +d-i partman-partitioning/confirm_write_new_label boolean true +d-i partman/confirm boolean true +d-i partman/confirm_nooverwrite boolean true +d-i partman/confirm_write_new_label boolean true +d-i partman-md/confirm boolean true # Time d-i time/zone string Europe/Berlin @@ -76,10 +76,11 @@ d-i mirror/http/proxy string http://apt-proxy:3142 # LinuxMint will *demand* a user during installation, ignoring the value # of the passwd/make-user flag, so we need to provide the user data here. # You should not preseed the password in clear text, this is just an example! +# Set to 'oem' d-i passwd/user-fullname string OEM d-i passwd/username string oem -d-i passwd/user-password-crypted password $6$8Wk7hOnUGc1ffBRY$nefXDPeChvZGK3B/bA4Hzv91sOU8IqmXE4IJATV.BRFtaWJtBQqJKtBQO.e092nf4Jg1.4L2TH5TaLtFy02x1. -d-i passwd/user-password-again password $6$8Wk7hOnUGc1ffBRY$nefXDPeChvZGK3B/bA4Hzv91sOU8IqmXE4IJATV.BRFtaWJtBQqJKtBQO.e092nf4Jg1.4L2TH5TaLtFy02x1. +d-i passwd/user-password-crypted password $6$VxY8Sv9YSjh6nfrd$pIxEGR3UjMLQ5bjtw4AOU/SMD8BZmGzSWDhA6hJvnOyQdKZty3Yvpsms.3Nty28SQEMcwVFEESjYbZuut0X6I0. +d-i passwd/user-password-again password $6$VxY8Sv9YSjh6nfrd$pIxEGR3UjMLQ5bjtw4AOU/SMD8BZmGzSWDhA6hJvnOyQdKZty3Yvpsms.3Nty28SQEMcwVFEESjYbZuut0X6I0. d-i passwd/root-login boolean false d-i user-setup/encrypt-home boolean false d-i user-setup/allow-password-weak boolean true @@ -123,7 +124,7 @@ ubiquity ubiquity/keep-installed string icedtea6-plugin openoffice.org # packages and run commands in the target system. #d-i preseed/late_command string apt-install zsh; in-target chsh -s /bin/zsh # Script am Ende -d-i preseed/late_command string wget -O - http://netboot/kubuntu_late_command.sh | bash +#d-i preseed/late_command string wget -O - http://netboot/kubuntu_late_command.sh | bash # on target: -#d-i preseed/late_command string chroot /target bash /cdrom/setup/install/settings.sh +d-i preseed/late_command string chroot /target bash /cdrom/preseed/kubuntu_late_command.sh diff --git a/kubuntu/kubuntu_late_command.sh b/kubuntu/kubuntu_late_command.sh index 54ed89c..b35bb80 100644 --- a/kubuntu/kubuntu_late_command.sh +++ b/kubuntu/kubuntu_late_command.sh @@ -10,7 +10,7 @@ export DEBIAN_FRONTEND=noninteractive DPKG_CFG_FRAGMENT=/etc/dpkg/dpkg.cfg.d/non-interactive # Linux distro -script_distro='Linux Mint 20' +script_distro='Kubuntu Linux 20.4.0' # Additional packages packages=( @@ -27,7 +27,7 @@ packages=( keepassxc # Games - 0ad + #0ad beneath-a-steel-sky billard-gl blobby @@ -59,7 +59,8 @@ packages=( winetricks # System management - gparted + kpartx + oem-config # Tools f3 @@ -116,9 +117,9 @@ packages=( language-selector-common openoffice.org-hyphenation language-pack-ar - language-pack-gnome-ar + #language-pack-gnome-ar language-pack-fa - language-pack-gnome-fa + #language-pack-gnome-fa ) ### @@ -168,6 +169,18 @@ echo "\ " e "Starte initiales Setup für Rechner mit frisch installiertem '${script_distro}' …" +# ChCh apt proxy benutzen (bedingt = wenn da) +ping -c 1 apt-proxy +if [ "$?" -eq "0" ]; then + echo 'Acquire::https::Proxy "http://apt-proxy:3142";' > /etc/apt/apt.conf.d/01aptproxy + echo 'Acquire::http::Proxy "http://apt-proxy:3142";' >> /etc/apt/apt.conf.d/01aptproxy + e "Proxy Apt-Aktiv" +else + e "Kein Apt-Proxy" +fi +echo 'Dpkg::Options "--force-unsafe-io";' >> /etc/apt/apt.conf.d/01aptproxy + + ### # Automatic installation ### @@ -177,9 +190,6 @@ force-confold force-confdef DPKG -e "Besten Spiegelserver für '${script_distro}' auswählen …" -mint-switch-to-local-mirror - e "Paketquellen aktualisieren …" apt update --yes --quiet @@ -228,5 +238,8 @@ dconf update ### # Finalisation ### +e "Apt proxy wieder entfernen..." +rm /etc/apt/apt.conf.d/01aptproxy + e "Initiales Setup beendet." oem-config-prepare diff --git a/mint/linux_mint.sh b/mint/linux_mint.sh index dd904ff..f1823d5 100755 --- a/mint/linux_mint.sh +++ b/mint/linux_mint.sh @@ -18,6 +18,7 @@ packages=( gimp inkscape pinta + krita # Office libreoffice @@ -26,7 +27,7 @@ packages=( keepassxc # Games - 0ad + #0ad beneath-a-steel-sky billard-gl blobby @@ -59,6 +60,7 @@ packages=( # System management gparted + oem-config # Tools f3 @@ -167,6 +169,18 @@ echo "\ " e "Starte initiales Setup für Rechner mit frisch installiertem '${script_distro}' …" +# apt proxy benutzen (bedingt = wenn da) +ping -c 1 apt-proxy +if [ "$?" -eq "0" ]; then + echo 'Acquire::https::Proxy "http://apt-proxy:3142";' > /etc/apt/apt.conf.d/01aptproxy + echo 'Acquire::http::Proxy "http://apt-proxy:3142";' >> /etc/apt/apt.conf.d/01aptproxy + e "Proxy Apt-Aktiv" +else + e "Kein Apt-Proxy" +fi +echo 'Dpkg::Options "--force-unsafe-io";' >> /etc/apt/apt.conf.d/01aptproxy + + ### # Automatic installation ### @@ -230,4 +244,8 @@ dconf update ### # Finalisation ### +e "Apt proxy wieder entfernen..." +rm /etc/apt/apt.conf.d/01aptproxy + e "Initiales Setup beendet." +oem-config-prepare