prov/prov.sh

41 lines
430 B
Bash

#!/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
magic-wormhole
ntp
traceroute
vim
vlan
wireguard-tools
zip
unzip
zstd
pbzip2
pv
zsh
"
apt update && \
apt upgrade -y && \
apt install -y $PKGS && \
apt autoremove -y
}
main