mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 21:12:11 +00:00
deal with changes in sid
move to testing cockpit-docker removed upstream, remove here
This commit is contained in:
parent
5192ce1dc7
commit
5badf352be
1 changed files with 8 additions and 8 deletions
|
@ -14,17 +14,17 @@ myLSB_STABLE_SUPPORTED="stretch buster"
|
||||||
myLSB_TESTING_SUPPORTED="sid"
|
myLSB_TESTING_SUPPORTED="sid"
|
||||||
myREMOTESITES="https://hub.docker.com https://github.com https://pypi.python.org https://debian.org"
|
myREMOTESITES="https://hub.docker.com https://github.com https://pypi.python.org https://debian.org"
|
||||||
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 netselect-apt 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 elasticsearch-curator 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 console-setup console-setup-linux cracklib-runtime curl debconf-utils dialog dnsutils docker.io docker-compose elasticsearch-curator 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"
|
||||||
myINFO="\
|
myINFO="\
|
||||||
########################################
|
########################################
|
||||||
### T-Pot Installer for Debian (Sid) ###
|
### T-Pot Installer for Debian (testing) ###
|
||||||
########################################
|
########################################
|
||||||
|
|
||||||
Disclaimer:
|
Disclaimer:
|
||||||
This script will install T-Pot on this system.
|
This script will install T-Pot on this system.
|
||||||
By running the script you know what you are doing:
|
By running the script you know what you are doing:
|
||||||
1. SSH will be reconfigured to tcp/64295.
|
1. SSH will be reconfigured to tcp/64295.
|
||||||
2. Your Debian installation will be upgraded to Sid / unstable.
|
2. Your Debian installation will be upgraded to testing.
|
||||||
3. Please ensure other means of access to this system in case something goes wrong.
|
3. Please ensure other means of access to this system in case something goes wrong.
|
||||||
4. At best this script will be executed on the console instead through a SSH session.
|
4. At best this script will be executed on the console instead through a SSH session.
|
||||||
|
|
||||||
|
@ -283,15 +283,15 @@ function fuGET_DEPS {
|
||||||
echo
|
echo
|
||||||
echo "### Determine fastest mirror for your location."
|
echo "### Determine fastest mirror for your location."
|
||||||
echo
|
echo
|
||||||
netselect-apt -n -a amd64 unstable && cp sources.list /etc/apt/
|
netselect-apt -n -a amd64 testing && cp sources.list /etc/apt/
|
||||||
mySOURCESCHECK=$(cat /etc/apt/sources.list | grep -c unstable)
|
mySOURCESCHECK=$(cat /etc/apt/sources.list | grep -c testing)
|
||||||
if [ "$mySOURCESCHECK" == "0" ]
|
if [ "$mySOURCESCHECK" == "0" ]
|
||||||
then
|
then
|
||||||
echo "### Automatic mirror selection failed, using main mirror."
|
echo "### Automatic mirror selection failed, using main mirror."
|
||||||
# Point to Debian (Sid, unstable)
|
# Point to Debian (testing)
|
||||||
tee /etc/apt/sources.list <<EOF
|
tee /etc/apt/sources.list <<EOF
|
||||||
deb http://deb.debian.org/debian unstable main contrib non-free
|
deb http://deb.debian.org/debian testing main contrib non-free
|
||||||
deb-src http://deb.debian.org/debian unstable main contrib non-free
|
deb-src http://deb.debian.org/debian testing main contrib non-free
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Reference in a new issue