install.sh aktualisiert
This commit is contained in:
parent
098a0e77bc
commit
463dc937ed
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user