mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Merge remote-tracking branch 'remotes/origin/dev' into issue/749
This commit is contained in:
@@ -998,7 +998,9 @@ parse_options() {
|
|||||||
export {https,ftp,rsync,all}_proxy="$http_proxy"
|
export {https,ftp,rsync,all}_proxy="$http_proxy"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Invalid option"
|
if [[ $1 = --* ]]; then
|
||||||
|
echo "Invalid option"
|
||||||
|
fi
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -33,6 +33,8 @@ echo "---- Starting setup at $(date -u) ----" >> $setup_log 2>&1
|
|||||||
function progress() {
|
function progress() {
|
||||||
if [ $automated == no ]; then
|
if [ $automated == no ]; then
|
||||||
whiptail --title "Security Onion Install" --gauge 'Please wait while installing' 6 60 0
|
whiptail --title "Security Onion Install" --gauge 'Please wait while installing' 6 60 0
|
||||||
|
else
|
||||||
|
cat >> $setup_log 2>&1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -236,6 +238,9 @@ fi
|
|||||||
|
|
||||||
if [[ $is_distmaster || ( $is_sensor || $is_node ) && ! $is_eval ]]; then
|
if [[ $is_distmaster || ( $is_sensor || $is_node ) && ! $is_eval ]]; then
|
||||||
whiptail_master_updates
|
whiptail_master_updates
|
||||||
|
if [[ $setup_type == 'network' && $MASTERUPDATES == 1 ]]; then
|
||||||
|
whiptail_master_updates_warning
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $is_minion ]]; then
|
if [[ $is_minion ]]; then
|
||||||
|
|||||||
@@ -1027,7 +1027,17 @@ whiptail_master_updates() {
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
whiptail_master_updates_warning() {
|
||||||
|
[ -n "$TESTING" ] && return
|
||||||
|
|
||||||
|
whiptail --title "Security Onion Setup"\
|
||||||
|
--msgbox "Updating through the master node requires the master to have internet access, press ENTER to continue"\
|
||||||
|
8 75
|
||||||
|
|
||||||
|
local exitstatus=$?
|
||||||
|
whiptail_check_exitstatus $exitstatus
|
||||||
}
|
}
|
||||||
|
|
||||||
whiptail_node_updates() {
|
whiptail_node_updates() {
|
||||||
|
|||||||
Reference in New Issue
Block a user