mirror of
https://codeberg.org/B3rtl/Ubuntu-Setup-Skripte
synced 2025-06-28 19:36:09 +02:00
Merge pull request 'master' (#41) from B3rtl/Ubuntu-Setup-Skripte:master into master
Reviewed-on: https://codeberg.org/Computertruhe/Setup-Skripte/pulls/41 Reviewed-by: Valentin Bachem <hdvalentin@noreply.codeberg.org> Reviewed-by: Mac <mac@noreply.codeberg.org>
This commit is contained in:
commit
05f924e1a4
3 changed files with 55 additions and 23 deletions
|
@ -40,24 +40,24 @@ d-i apt-setup/extras boolean true
|
||||||
#d-i partman-auto/choose_recipe select atomic
|
#d-i partman-auto/choose_recipe select atomic
|
||||||
|
|
||||||
#d-i partman/default_filesystem string ext3
|
#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
|
# If one of the disks that are going to be automatically partitioned
|
||||||
# contains an old LVM configuration, the user will normally receive a
|
# contains an old LVM configuration, the user will normally receive a
|
||||||
# warning. This can be preseeded away...
|
# 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:
|
# 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.
|
# And the same goes for the confirmation to write the lvm partitions.
|
||||||
#d-i partman-lvm/confirm boolean true
|
d-i partman-lvm/confirm boolean true
|
||||||
#d-i partman-lvm/confirm_nooverwrite boolean true
|
d-i partman-lvm/confirm_nooverwrite boolean true
|
||||||
|
|
||||||
# Just in case, the positive answer to all other imagineable conformation questions:
|
# 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-partitioning/confirm_write_new_label boolean true
|
||||||
#d-i partman/confirm boolean true
|
d-i partman/confirm boolean true
|
||||||
#d-i partman/confirm_nooverwrite boolean true
|
d-i partman/confirm_nooverwrite boolean true
|
||||||
#d-i partman/confirm_write_new_label boolean true
|
d-i partman/confirm_write_new_label boolean true
|
||||||
#d-i partman-md/confirm boolean true
|
d-i partman-md/confirm boolean true
|
||||||
|
|
||||||
# Time
|
# Time
|
||||||
d-i time/zone string Europe/Berlin
|
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
|
# 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.
|
# 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!
|
# 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/user-fullname string OEM
|
||||||
d-i passwd/username 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-crypted password $6$VxY8Sv9YSjh6nfrd$pIxEGR3UjMLQ5bjtw4AOU/SMD8BZmGzSWDhA6hJvnOyQdKZty3Yvpsms.3Nty28SQEMcwVFEESjYbZuut0X6I0.
|
||||||
d-i passwd/user-password-again password $6$8Wk7hOnUGc1ffBRY$nefXDPeChvZGK3B/bA4Hzv91sOU8IqmXE4IJATV.BRFtaWJtBQqJKtBQO.e092nf4Jg1.4L2TH5TaLtFy02x1.
|
d-i passwd/user-password-again password $6$VxY8Sv9YSjh6nfrd$pIxEGR3UjMLQ5bjtw4AOU/SMD8BZmGzSWDhA6hJvnOyQdKZty3Yvpsms.3Nty28SQEMcwVFEESjYbZuut0X6I0.
|
||||||
d-i passwd/root-login boolean false
|
d-i passwd/root-login boolean false
|
||||||
d-i user-setup/encrypt-home boolean false
|
d-i user-setup/encrypt-home boolean false
|
||||||
d-i user-setup/allow-password-weak boolean true
|
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.
|
# packages and run commands in the target system.
|
||||||
#d-i preseed/late_command string apt-install zsh; in-target chsh -s /bin/zsh
|
#d-i preseed/late_command string apt-install zsh; in-target chsh -s /bin/zsh
|
||||||
# Script am Ende
|
# 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:
|
# 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
|
||||||
|
|
|
@ -10,7 +10,7 @@ export DEBIAN_FRONTEND=noninteractive
|
||||||
DPKG_CFG_FRAGMENT=/etc/dpkg/dpkg.cfg.d/non-interactive
|
DPKG_CFG_FRAGMENT=/etc/dpkg/dpkg.cfg.d/non-interactive
|
||||||
|
|
||||||
# Linux distro
|
# Linux distro
|
||||||
script_distro='Linux Mint 20'
|
script_distro='Kubuntu Linux 20.4.0'
|
||||||
|
|
||||||
# Additional packages
|
# Additional packages
|
||||||
packages=(
|
packages=(
|
||||||
|
@ -27,7 +27,7 @@ packages=(
|
||||||
keepassxc
|
keepassxc
|
||||||
|
|
||||||
# Games
|
# Games
|
||||||
0ad
|
#0ad
|
||||||
beneath-a-steel-sky
|
beneath-a-steel-sky
|
||||||
billard-gl
|
billard-gl
|
||||||
blobby
|
blobby
|
||||||
|
@ -59,7 +59,8 @@ packages=(
|
||||||
winetricks
|
winetricks
|
||||||
|
|
||||||
# System management
|
# System management
|
||||||
gparted
|
kpartx
|
||||||
|
oem-config
|
||||||
|
|
||||||
# Tools
|
# Tools
|
||||||
f3
|
f3
|
||||||
|
@ -116,9 +117,9 @@ packages=(
|
||||||
language-selector-common
|
language-selector-common
|
||||||
openoffice.org-hyphenation
|
openoffice.org-hyphenation
|
||||||
language-pack-ar
|
language-pack-ar
|
||||||
language-pack-gnome-ar
|
#language-pack-gnome-ar
|
||||||
language-pack-fa
|
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}' …"
|
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
|
# Automatic installation
|
||||||
###
|
###
|
||||||
|
@ -177,9 +190,6 @@ force-confold
|
||||||
force-confdef
|
force-confdef
|
||||||
DPKG
|
DPKG
|
||||||
|
|
||||||
e "Besten Spiegelserver für '${script_distro}' auswählen …"
|
|
||||||
mint-switch-to-local-mirror
|
|
||||||
|
|
||||||
e "Paketquellen aktualisieren …"
|
e "Paketquellen aktualisieren …"
|
||||||
apt update --yes --quiet
|
apt update --yes --quiet
|
||||||
|
|
||||||
|
@ -228,5 +238,8 @@ dconf update
|
||||||
###
|
###
|
||||||
# Finalisation
|
# Finalisation
|
||||||
###
|
###
|
||||||
|
e "Apt proxy wieder entfernen..."
|
||||||
|
rm /etc/apt/apt.conf.d/01aptproxy
|
||||||
|
|
||||||
e "Initiales Setup beendet."
|
e "Initiales Setup beendet."
|
||||||
oem-config-prepare
|
oem-config-prepare
|
||||||
|
|
|
@ -18,6 +18,7 @@ packages=(
|
||||||
gimp
|
gimp
|
||||||
inkscape
|
inkscape
|
||||||
pinta
|
pinta
|
||||||
|
krita
|
||||||
|
|
||||||
# Office
|
# Office
|
||||||
libreoffice
|
libreoffice
|
||||||
|
@ -26,7 +27,7 @@ packages=(
|
||||||
keepassxc
|
keepassxc
|
||||||
|
|
||||||
# Games
|
# Games
|
||||||
0ad
|
#0ad
|
||||||
beneath-a-steel-sky
|
beneath-a-steel-sky
|
||||||
billard-gl
|
billard-gl
|
||||||
blobby
|
blobby
|
||||||
|
@ -59,6 +60,7 @@ packages=(
|
||||||
|
|
||||||
# System management
|
# System management
|
||||||
gparted
|
gparted
|
||||||
|
oem-config
|
||||||
|
|
||||||
# Tools
|
# Tools
|
||||||
f3
|
f3
|
||||||
|
@ -167,6 +169,18 @@ echo "\
|
||||||
"
|
"
|
||||||
e "Starte initiales Setup für Rechner mit frisch installiertem '${script_distro}' …"
|
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
|
# Automatic installation
|
||||||
###
|
###
|
||||||
|
@ -230,4 +244,8 @@ dconf update
|
||||||
###
|
###
|
||||||
# Finalisation
|
# Finalisation
|
||||||
###
|
###
|
||||||
|
e "Apt proxy wieder entfernen..."
|
||||||
|
rm /etc/apt/apt.conf.d/01aptproxy
|
||||||
|
|
||||||
e "Initiales Setup beendet."
|
e "Initiales Setup beendet."
|
||||||
|
oem-config-prepare
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue