mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 12:32:12 +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
|
||||
systemctl stop 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
|
||||
sed -i 's/buster/bullseye/g' /etc/apt/sources.list
|
||||
|
@ -118,11 +122,12 @@ if [ "$myRELEASE" != "$myLSB_RELEASE" ]
|
|||
echo "###### Running full upgrade ... "
|
||||
echo
|
||||
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
|
||||
apt-fast full-upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" --force-yes
|
||||
dpkg --configure -a
|
||||
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
|
||||
fi
|
||||
exit
|
||||
|
|
Loading…
Reference in a new issue