parent
b59d74f0fd
commit
d1aa897abf
|
@ -9,16 +9,6 @@
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
DPKG_CFG_FRAGMENT=/etc/dpkg/dpkg.cfg.d/non-interactive
|
DPKG_CFG_FRAGMENT=/etc/dpkg/dpkg.cfg.d/non-interactive
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# Linux distro
|
# Linux distro
|
||||||
script_distro='Kubuntu Linux 20.4.0'
|
script_distro='Kubuntu Linux 20.4.0'
|
||||||
|
|
||||||
|
@ -179,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
|
||||||
###
|
###
|
||||||
|
|
Loading…
Reference in New Issue