install.sh aktualisiert
This commit is contained in:
parent
463dc937ed
commit
5db3e2e141
@ -4,7 +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}"
|
id | grep -q '(sudo)' || su -c "/usr/sbin/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