mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 12:32:12 +00:00
fix deps, tweaking
This commit is contained in:
parent
870c640a5b
commit
4c1649d960
5 changed files with 9 additions and 7 deletions
|
@ -126,7 +126,9 @@ fi
|
||||||
|
|
||||||
# Let's check if all dependencies are met
|
# Let's check if all dependencies are met
|
||||||
function fuGET_DEPS {
|
function fuGET_DEPS {
|
||||||
local myPACKAGES="apache2-utils apparmor apt-transport-https aufs-tools bash-completion build-essential ca-certificates cgroupfs-mount cockpit cockpit-docker curl debconf-utils dialog dnsutils docker.io docker-compose dstat ethtool fail2ban genisoimage git glances grc html2text htop ifupdown iptables iw jq libcrack2 libltdl7 lm-sensors man mosh multitail net-tools npm ntp openssh-server openssl pass prips syslinux psmisc pv python-pip unattended-upgrades unzip vim wireless-tools wpasupplicant"
|
local myPACKAGES="apache2-utils apparmor apt-transport-https aufs-tools bash-completion build-essential ca-certificates cgroupfs-mount cockpit cockpit-docker curl debconf-utils dialog dnsutils docker.io docker-compose dstat ethtool fail2ban genisoimage git glances grc html2text htop ifupdown iptables iw jq libcrack2 libltdl7 lm-sensors man mosh multitail net-tools npm ntp openssh-server openssl pass prips software-properties-common syslinux psmisc pv python-pip unattended-upgrades unzip vim wireless-tools wpasupplicant"
|
||||||
|
apt-get -y update
|
||||||
|
apt-get -y install software-properties-common
|
||||||
add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe restricted multiverse"
|
add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe restricted multiverse"
|
||||||
echo
|
echo
|
||||||
echo "### Getting update information."
|
echo "### Getting update information."
|
||||||
|
@ -138,7 +140,7 @@ echo
|
||||||
# Downlaod and upgrade packages, but silently keep existing configs
|
# Downlaod and upgrade packages, but silently keep existing configs
|
||||||
echo "docker.io docker.io/restart boolean true" | debconf-set-selections -v
|
echo "docker.io docker.io/restart boolean true" | debconf-set-selections -v
|
||||||
echo "debconf debconf/frontend select noninteractive" | debconf-set-selections -v
|
echo "debconf debconf/frontend select noninteractive" | debconf-set-selections -v
|
||||||
apt-get dist-upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" --force-yes
|
apt-get -y dist-upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" --force-yes
|
||||||
echo
|
echo
|
||||||
echo "### Installing T-Pot dependencies."
|
echo "### Installing T-Pot dependencies."
|
||||||
echo
|
echo
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
default install
|
default install
|
||||||
label install
|
label install
|
||||||
menu label ^T-Pot 18.10 (dev)
|
menu label ^T-Pot 18.11 (testing)
|
||||||
menu default
|
menu default
|
||||||
kernel linux
|
kernel linux
|
||||||
append vga=788 initrd=initrd.gz console-setup/ask_detect=true --
|
append vga=788 initrd=initrd.gz console-setup/ask_detect=true --
|
||||||
|
|
|
@ -101,7 +101,7 @@ tasksel tasksel/first multiselect ubuntu-server
|
||||||
########################
|
########################
|
||||||
### Package Installation
|
### Package Installation
|
||||||
########################
|
########################
|
||||||
d-i pkgsel/include string apache2-utils apparmor apt-transport-https aufs-tools bash-completion build-essential ca-certificates cgroupfs-mount cockpit cockpit-docker curl debconf-utils dialog dnsutils docker.io docker-compose dstat ethtool fail2ban genisoimage git glances grc html2text htop ifupdown iptables iw jq libcrack2 libltdl7 lm-sensors man mosh multitail net-tools npm ntp openssh-server openssl pass prips syslinux psmisc pv python-pip unzip vim wireless-tools wpasupplicant
|
d-i pkgsel/include string apache2-utils apparmor apt-transport-https aufs-tools bash-completion build-essential ca-certificates cgroupfs-mount cockpit cockpit-docker curl debconf-utils dialog dnsutils docker.io docker-compose dstat ethtool fail2ban genisoimage git glances grc html2text htop ifupdown iptables iw jq libcrack2 libltdl7 lm-sensors man mosh multitail net-tools npm ntp openssh-server openssl pass prips software-properties-common syslinux psmisc pv python-pip unzip vim wireless-tools wpasupplicant
|
||||||
|
|
||||||
#################
|
#################
|
||||||
### Update Policy
|
### Update Policy
|
||||||
|
|
|
@ -157,7 +157,7 @@ echo
|
||||||
}
|
}
|
||||||
|
|
||||||
function fuUPDATER () {
|
function fuUPDATER () {
|
||||||
local myPACKAGES="apache2-utils apparmor apt-transport-https aufs-tools bash-completion build-essential ca-certificates cgroupfs-mount cockpit cockpit-docker curl debconf-utils dialog dnsutils docker.io docker-compose dstat ethtool fail2ban genisoimage git glances grc html2text htop ifupdown iptables iw jq libcrack2 libltdl7 lm-sensors man mosh multitail net-tools npm ntp openssh-server openssl pass prips syslinux psmisc pv python-pip unattended-upgrades unzip vim wireless-tools wpasupplicant"
|
local myPACKAGES="apache2-utils apparmor apt-transport-https aufs-tools bash-completion build-essential ca-certificates cgroupfs-mount cockpit cockpit-docker curl debconf-utils dialog dnsutils docker.io docker-compose dstat ethtool fail2ban genisoimage git glances grc html2text htop ifupdown iptables iw jq libcrack2 libltdl7 lm-sensors man mosh multitail net-tools npm ntp openssh-server openssl pass prips software-properties-common syslinux psmisc pv python-pip unattended-upgrades unzip vim wireless-tools wpasupplicant"
|
||||||
echo "### Now upgrading packages ..."
|
echo "### Now upgrading packages ..."
|
||||||
dpkg --configure -a
|
dpkg --configure -a
|
||||||
apt-get -y autoclean
|
apt-get -y autoclean
|
||||||
|
@ -168,7 +168,7 @@ apt-get -y install $myPACKAGES
|
||||||
# Some updates require interactive attention, and the following settings will override that.
|
# Some updates require interactive attention, and the following settings will override that.
|
||||||
echo "docker.io docker.io/restart boolean true" | debconf-set-selections -v
|
echo "docker.io docker.io/restart boolean true" | debconf-set-selections -v
|
||||||
echo "debconf debconf/frontend select noninteractive" | debconf-set-selections -v
|
echo "debconf debconf/frontend select noninteractive" | debconf-set-selections -v
|
||||||
apt-get dist-upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" --force-yes
|
apt-get -y dist-upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" --force-yes
|
||||||
dpkg --configure -a
|
dpkg --configure -a
|
||||||
npm install "https://github.com/taskrabbit/elasticsearch-dump" -g
|
npm install "https://github.com/taskrabbit/elasticsearch-dump" -g
|
||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
|
|
2
version
2
version
|
@ -1 +1 @@
|
||||||
18.10.0
|
18.11.0
|
||||||
|
|
Loading…
Reference in a new issue