Add 'prov.sh'

This commit is contained in:
Jeffrey Paul 2021-06-10 23:21:09 +00:00
parent 3ee54dddc5
commit ee49844269
1 changed files with 34 additions and 0 deletions

34
prov.sh Normal file
View File

@ -0,0 +1,34 @@
#!/bin/bash
export DEBIAN_FRONTEND=noninteractive
function main() {
RELEASE="$(lsb_release -cs)"
prov-$RELEASE
}
function prov-focal() {
PKGS="
bridge-utils
byobu
git
make
net-tools
nmap
traceroute
vim
vlan
wireguard-tools
zsh
"
apt update && \
apt upgrade -y && \
apt install -y $PKGS && \
apt autoremove -y
}
main