mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-20 06:02:24 +00:00
remove netselect-apt
causes too many unpredictable errors #733 as the latest example
This commit is contained in:
parent
af6ce8854d
commit
b57f6ddd1e
3 changed files with 4 additions and 19 deletions
|
@ -21,8 +21,8 @@ myTPOTCOMPOSE="/opt/tpot/etc/tpot.yml"
|
||||||
myLSB_STABLE_SUPPORTED="stretch buster"
|
myLSB_STABLE_SUPPORTED="stretch buster"
|
||||||
myLSB_TESTING_SUPPORTED="stable"
|
myLSB_TESTING_SUPPORTED="stable"
|
||||||
myREMOTESITES="https://hub.docker.com https://github.com https://pypi.python.org https://debian.org https://listbot.sicherheitstacho.eu"
|
myREMOTESITES="https://hub.docker.com https://github.com https://pypi.python.org https://debian.org https://listbot.sicherheitstacho.eu"
|
||||||
myPREINSTALLPACKAGES="aria2 apache2-utils cracklib-runtime curl dialog figlet fuse grc libcrack2 libpq-dev lsb-release netselect-apt net-tools software-properties-common toilet"
|
myPREINSTALLPACKAGES="aria2 apache2-utils cracklib-runtime curl dialog figlet fuse grc libcrack2 libpq-dev lsb-release net-tools software-properties-common toilet"
|
||||||
myINSTALLPACKAGES="aria2 apache2-utils apparmor apt-transport-https aufs-tools bash-completion build-essential ca-certificates cgroupfs-mount cockpit cockpit-docker console-setup console-setup-linux cracklib-runtime curl debconf-utils dialog dnsutils docker.io docker-compose ethtool fail2ban figlet genisoimage git glances grc haveged html2text htop iptables iw jq kbd libcrack2 libltdl7 libpam-google-authenticator man mosh multitail netselect-apt net-tools npm ntp openssh-server openssl pass pigz prips software-properties-common syslinux psmisc pv python3-pip toilet unattended-upgrades unzip vim wget wireless-tools wpasupplicant"
|
myINSTALLPACKAGES="aria2 apache2-utils apparmor apt-transport-https aufs-tools bash-completion build-essential ca-certificates cgroupfs-mount cockpit cockpit-docker console-setup console-setup-linux cracklib-runtime curl debconf-utils dialog dnsutils docker.io docker-compose ethtool fail2ban figlet genisoimage git glances grc haveged html2text htop iptables iw jq kbd libcrack2 libltdl7 libpam-google-authenticator man mosh multitail net-tools npm ntp openssh-server openssl pass pigz prips software-properties-common syslinux psmisc pv python3-pip toilet unattended-upgrades unzip vim wget wireless-tools wpasupplicant"
|
||||||
myINFO="\
|
myINFO="\
|
||||||
###########################################
|
###########################################
|
||||||
### T-Pot Installer for Debian (Stable) ###
|
### T-Pot Installer for Debian (Stable) ###
|
||||||
|
@ -290,21 +290,6 @@ function fuCHECKNET {
|
||||||
# Install T-Pot dependencies
|
# Install T-Pot dependencies
|
||||||
function fuGET_DEPS {
|
function fuGET_DEPS {
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
# Determine fastest mirror
|
|
||||||
echo
|
|
||||||
echo "### Determine fastest mirror for your location."
|
|
||||||
echo
|
|
||||||
netselect-apt -n -a amd64 stable && cp sources.list /etc/apt/
|
|
||||||
mySOURCESCHECK=$(cat /etc/apt/sources.list | grep -c stable)
|
|
||||||
if [ "$mySOURCESCHECK" == "0" ]
|
|
||||||
then
|
|
||||||
echo "### Automatic mirror selection failed, using main mirror."
|
|
||||||
# Point to Debian (stable)
|
|
||||||
tee /etc/apt/sources.list <<EOF
|
|
||||||
deb http://deb.debian.org/debian stable main contrib non-free
|
|
||||||
deb-src http://deb.debian.org/debian stable main contrib non-free
|
|
||||||
EOF
|
|
||||||
fi
|
|
||||||
echo
|
echo
|
||||||
echo "### Getting update information."
|
echo "### Getting update information."
|
||||||
echo
|
echo
|
||||||
|
|
|
@ -109,7 +109,7 @@ tasksel tasksel/first multiselect ssh-server
|
||||||
########################
|
########################
|
||||||
### Package Installation
|
### Package Installation
|
||||||
########################
|
########################
|
||||||
d-i pkgsel/include string apache2-utils cracklib-runtime curl dialog figlet git grc libcrack2 libpq-dev lsb-release netselect-apt net-tools software-properties-common toilet
|
d-i pkgsel/include string apache2-utils cracklib-runtime curl dialog figlet git grc libcrack2 libpq-dev lsb-release net-tools software-properties-common toilet
|
||||||
popularity-contest popularity-contest/participate boolean false
|
popularity-contest popularity-contest/participate boolean false
|
||||||
|
|
||||||
#################
|
#################
|
||||||
|
|
|
@ -183,7 +183,7 @@ function fuUPDATER () {
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
echo "### Installing apt-fast"
|
echo "### Installing apt-fast"
|
||||||
/bin/bash -c "$(curl -sL https://raw.githubusercontent.com/ilikenwf/apt-fast/master/quick-install.sh)"
|
/bin/bash -c "$(curl -sL https://raw.githubusercontent.com/ilikenwf/apt-fast/master/quick-install.sh)"
|
||||||
local myPACKAGES="aria2 apache2-utils apparmor apt-transport-https aufs-tools bash-completion build-essential ca-certificates cgroupfs-mount cockpit cockpit-docker console-setup console-setup-linux cracklib-runtime curl debconf-utils dialog dnsutils docker.io docker-compose ethtool fail2ban figlet genisoimage git glances grc haveged html2text htop iptables iw jq kbd libcrack2 libltdl7 libpam-google-authenticator man mosh multitail netselect-apt net-tools npm ntp openssh-server openssl pass pigz prips software-properties-common syslinux psmisc pv python3-elasticsearch-curator python3-pip toilet unattended-upgrades unzip vim wget wireless-tools wpasupplicant"
|
local myPACKAGES="aria2 apache2-utils apparmor apt-transport-https aufs-tools bash-completion build-essential ca-certificates cgroupfs-mount cockpit cockpit-docker console-setup console-setup-linux cracklib-runtime curl debconf-utils dialog dnsutils docker.io docker-compose ethtool fail2ban figlet genisoimage git glances grc haveged html2text htop iptables iw jq kbd libcrack2 libltdl7 libpam-google-authenticator man mosh multitail net-tools npm ntp openssh-server openssl pass pigz prips software-properties-common syslinux psmisc pv python3-elasticsearch-curator python3-pip toilet unattended-upgrades unzip vim wget wireless-tools wpasupplicant"
|
||||||
# Remove purge in the future
|
# Remove purge in the future
|
||||||
echo "### Removing repository based install of elasticsearch-curator"
|
echo "### Removing repository based install of elasticsearch-curator"
|
||||||
apt-get purge elasticsearch-curator -y
|
apt-get purge elasticsearch-curator -y
|
||||||
|
|
Loading…
Reference in a new issue