diff --git a/setup/so-functions b/setup/so-functions index 19c988548..bf024ab3e 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -667,7 +667,9 @@ fireeye_pillar() { } +# Run a salt command to generate the minion key salt_firstcheckin() { + echo "Next line will show [ERROR], this is expected" >> "$setup_log" 2>&1 salt-call state.show_top >> "$setup_log" 2>&1 } diff --git a/setup/so-whiptail b/setup/so-whiptail index 825430272..d66e3197d 100755 --- a/setup/so-whiptail +++ b/setup/so-whiptail @@ -349,7 +349,6 @@ whiptail_homenet_sensor() { whiptail --title "Security Onion Setup" --yesno "Do you want to inherit the HOME_NET from the Master?" 8 75 local exitstatus=$? - whiptail_check_exitstatus $exitstatus if [ $exitstatus == 0 ]; then export HNSENSOR=inherit