mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +01:00
detect os and cloud sooner
This commit is contained in:
@@ -104,6 +104,8 @@ function progress() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
detect_os && detect_cloud
|
||||||
|
|
||||||
if [[ -f automation/$automation && $(basename $automation) == $automation ]]; then
|
if [[ -f automation/$automation && $(basename $automation) == $automation ]]; then
|
||||||
echo "Preselecting variable values based on automated setup: $automation" >> $setup_log 2>&1
|
echo "Preselecting variable values based on automated setup: $automation" >> $setup_log 2>&1
|
||||||
source automation/$automation
|
source automation/$automation
|
||||||
@@ -152,7 +154,6 @@ set_ssh_cmds $automated
|
|||||||
local_sbin="$(pwd)/../salt/common/tools/sbin"
|
local_sbin="$(pwd)/../salt/common/tools/sbin"
|
||||||
export PATH=$PATH:$local_sbin
|
export PATH=$PATH:$local_sbin
|
||||||
|
|
||||||
detect_os && detect_cloud
|
|
||||||
set_network_dev_status_list
|
set_network_dev_status_list
|
||||||
|
|
||||||
if [ "$OS" == ubuntu ]; then
|
if [ "$OS" == ubuntu ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user