added sudo and comments and usefun software
This commit is contained in:
parent
5ecf3d0eeb
commit
587ea27183
27
mint.sh
27
mint.sh
@ -1,12 +1,25 @@
|
||||
#!/bin/bash
|
||||
#!/bin/bash -e
|
||||
|
||||
apt-get update
|
||||
apt-get -y dist-upgrade
|
||||
apt-get -y install python3-pip git
|
||||
# systemupdate
|
||||
sudo apt-get update
|
||||
sudo apt-get -y dist-upgrade
|
||||
|
||||
pip install ansible
|
||||
# install ansible
|
||||
sudo apt-get -y install python3-pip git
|
||||
sudo pip install ansible
|
||||
|
||||
# run ansible debian basics
|
||||
git clone https://gitea.ds9.dedyn.io/olli/debian.ansible.basics.git
|
||||
ansible-playbook --connection=local --inventory $(hostname), --limit $(hostname) debian.ansible.basics/basics.yml
|
||||
sudo ansible-playbook --connection=local --inventory $(hostname), --limit $(hostname) debian.ansible.basics/basics.yml
|
||||
|
||||
rm -rf debian.ansible.basics
|
||||
# powersave
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install tlp tlp-rdw
|
||||
|
||||
# Speed up program start
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install preload
|
||||
|
||||
# mediacodecs and fonts
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install ubuntu-restricted-extras libavcodec-extra libdvd-pkg
|
||||
|
||||
# cleanup
|
||||
sudo rm -rf debian.ansible.basics
|
||||
|
Loading…
Reference in New Issue
Block a user