mint.sh aktualisiert

This commit is contained in:
olli 2023-08-10 13:58:20 +02:00
parent d7e8a6959f
commit 4145fc3f6b

View File

@ -41,7 +41,7 @@ then
docker-compose -f /home/docker/whoogle.$(hostname)/docker-compose.yml down
rm -rf /home/docker/whoogle.$(hostname)
fi
host=$(cat /etc/hostname | sed "s/^${defaultuser}-//")
host=$(cat /etc/hostname | sudo sed "s/^${defaultuser}-//")
hostnamectl set-hostname ${host}
fi
@ -90,8 +90,8 @@ sudo DEBIAN_FRONTEND=noninteractive apt-get -y install ttf-mscorefonts-installer
. /etc/upstream-release/lsb-release
# prepare release update for next reboot
sed -i 's/ vera / victoria /g' /etc/apt/sources.list.d/official-package-repositories.list
sed -i 's/ vanessa / victoria /g' /etc/apt/sources.list.d/official-package-repositories.list
sudo sed -i 's/ vera / victoria /g' /etc/apt/sources.list.d/official-package-repositories.list
sudo sed -i 's/ vanessa / victoria /g' /etc/apt/sources.list.d/official-package-repositories.list
# run ansible playbooks
for playbook in debian.ansible.basics \