mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 20:42:11 +00:00
update tweaking
This commit is contained in:
parent
717167b55c
commit
5745d54c21
1 changed files with 6 additions and 1 deletions
|
@ -109,6 +109,10 @@ if [ "$myRELEASE" != "$myLSB_RELEASE" ]
|
||||||
echo
|
echo
|
||||||
systemctl stop tpot
|
systemctl stop tpot
|
||||||
systemctl disable tpot
|
systemctl disable tpot
|
||||||
|
systemctl stop docker
|
||||||
|
systemctl start docker
|
||||||
|
docker stop $(docker ps -aq)
|
||||||
|
docker rm -v $(docker ps -aq)
|
||||||
echo "###### Switching /etc/apt/sources.list from buster to bullseye ... "
|
echo "###### Switching /etc/apt/sources.list from buster to bullseye ... "
|
||||||
echo
|
echo
|
||||||
sed -i 's/buster/bullseye/g' /etc/apt/sources.list
|
sed -i 's/buster/bullseye/g' /etc/apt/sources.list
|
||||||
|
@ -118,11 +122,12 @@ if [ "$myRELEASE" != "$myLSB_RELEASE" ]
|
||||||
echo "###### Running full upgrade ... "
|
echo "###### Running full upgrade ... "
|
||||||
echo
|
echo
|
||||||
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 "libc6 libc6/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-fast full-upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" --force-yes
|
apt-fast full-upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" --force-yes
|
||||||
dpkg --configure -a
|
dpkg --configure -a
|
||||||
echo "###### $myBLUE""Finished with upgrading. Now restarting update.sh and to continue with T-Pot related updates.""$myWHITE"
|
echo "###### $myBLUE""Finished with upgrading. Now restarting update.sh and to continue with T-Pot related updates.""$myWHITE"
|
||||||
exec "$0" "$@"
|
exec ./update.sh -y
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
exit
|
exit
|
||||||
|
|
Loading…
Reference in a new issue