Add 'prov.sh'
This commit is contained in:
parent
3ee54dddc5
commit
ee49844269
|
@ -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
|
Loading…
Reference in New Issue