initial setup script v.0.1
This commit is contained in:
parent
a27660ec30
commit
6e12b1cdfc
15
scripts/initial.sh
Normal file
15
scripts/initial.sh
Normal file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
|
||||
. /etc/os-release
|
||||
|
||||
case $ID in
|
||||
"debian" )
|
||||
sudo apt update -y && sudo apt upgrade -y
|
||||
;;
|
||||
"rhel" )
|
||||
sudo dnf update -y
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user