From b8d49ab662393f479cb412583f9a2ffd476226d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20K=C3=B6pferl?= Date: Mon, 8 Mar 2021 21:14:21 +0100 Subject: [PATCH] zzz --- kubuntu/computertruhe.seed | 24 ++++++++++++------------ kubuntu/kubuntu_late_command.sh | 5 +---- 2 files changed, 13 insertions(+), 16 deletions(-) diff --git a/kubuntu/computertruhe.seed b/kubuntu/computertruhe.seed index c10278d..aa564c5 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 @@ -123,7 +123,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..b7d69f8 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=( @@ -177,9 +177,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