mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-13 12:42:56 +01:00
Add system information at beginning of installation; provide logging functions to be used instead of echo commands
This commit is contained in:
@@ -48,9 +48,11 @@ done
|
||||
|
||||
# Begin Installation pre-processing
|
||||
parse_install_username
|
||||
echo "Installing as the $INSTALLUSERNAME user." >> $setup_log 2>&1
|
||||
|
||||
echo "---- Starting setup at $(date -u) ----" >> $setup_log 2>&1
|
||||
header "Initializing Setup"
|
||||
info "Installing as the $INSTALLUSERNAME user"
|
||||
|
||||
analyze_system
|
||||
|
||||
automated=no
|
||||
function progress() {
|
||||
@@ -76,9 +78,6 @@ if [[ -f automation/$automation && $(basename $automation) == $automation ]]; th
|
||||
source automation/$automation
|
||||
automated=yes
|
||||
|
||||
echo "Checking network configuration" >> $setup_log 2>&1
|
||||
ip a >> $setup_log 2>&1
|
||||
|
||||
attempt=1
|
||||
attempts=60
|
||||
ip a | grep "$MNIC:" | grep "state UP" >> $setup_log 2>&1
|
||||
|
||||
Reference in New Issue
Block a user