diff --git a/scripts/initial.sh b/scripts/initial.sh new file mode 100644 index 0000000..3f06d08 --- /dev/null +++ b/scripts/initial.sh @@ -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 +