mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 09:42:46 +01:00
give priority to presets
This commit is contained in:
@@ -398,6 +398,7 @@ collect_mngr_hostname() {
|
|||||||
sed -i "/$MSRV/d" /etc/hosts
|
sed -i "/$MSRV/d" /etc/hosts
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -z "$MSRVIP" ]]; then
|
||||||
if ! getent hosts "$MSRV"; then
|
if ! getent hosts "$MSRV"; then
|
||||||
whiptail_manager_ip
|
whiptail_manager_ip
|
||||||
|
|
||||||
@@ -413,6 +414,7 @@ collect_mngr_hostname() {
|
|||||||
whiptail_manager_ip "$MSRVIP"
|
whiptail_manager_ip "$MSRVIP"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
collect_net_method() {
|
collect_net_method() {
|
||||||
|
|||||||
Reference in New Issue
Block a user