install.sh aktualisiert

This commit is contained in:
olli 2023-08-21 14:45:48 +02:00
parent 098a0e77bc
commit 463dc937ed

View File

@ -4,6 +4,7 @@ set -e
# on fresh install remove cdrom-repo and install sudo if not available # on fresh install remove cdrom-repo and install sudo if not available
which sudo >/dev/null 2>&1 || su -c "sed -i '/cdrom/d' /etc/apt/sources.list ; apt update ; apt -y install sudo" which sudo >/dev/null 2>&1 || su -c "sed -i '/cdrom/d' /etc/apt/sources.list ; apt update ; apt -y install sudo"
id | grep -q '(sudo)' || su -c "usermod -a sudo ${USER}"
sudo apt-get -y install python3-pip git sudo apt-get -y install python3-pip git
sudo pip install ansible sudo pip install ansible