Support automated setup

This commit is contained in:
Jason Ertel
2020-05-22 14:44:57 -04:00
parent 967148890c
commit 19cd57bce0
3 changed files with 84 additions and 0 deletions

View File

@@ -24,6 +24,12 @@ source ./so-variables
setup_type=$1
export setup_type
automation=$2
if [[ -f automation/$automation && $(basename $automation) == $automation ]]; then
echo "Preselecting variable values based on automated setup: $automation"
source automation/$automation
fi
case "$setup_type" in
iso | network) # Accepted values
echo "Beginning Security Onion $setup_type install"