mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Also disable ipv6 for install
This commit is contained in:
@@ -745,6 +745,14 @@ disable_auto_start() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
disable_ipv6() {
|
||||||
|
{
|
||||||
|
info "Disabling ipv6"
|
||||||
|
sysctl -w net.ipv6.conf.all.disable_ipv6=1
|
||||||
|
sysctl -w net.ipv6.conf.default.disable_ipv6=1
|
||||||
|
} >> "$setup_log" 2>&1
|
||||||
|
}
|
||||||
|
|
||||||
disable_misc_network_features() {
|
disable_misc_network_features() {
|
||||||
filter_unused_nics
|
filter_unused_nics
|
||||||
if [ ${#filtered_nics[@]} -ne 0 ]; then
|
if [ ${#filtered_nics[@]} -ne 0 ]; then
|
||||||
|
|||||||
@@ -462,6 +462,7 @@ fi
|
|||||||
# Set initial percentage to 0
|
# Set initial percentage to 0
|
||||||
export percentage=0
|
export percentage=0
|
||||||
set_path
|
set_path
|
||||||
|
disable_ipv6
|
||||||
|
|
||||||
if [[ $is_manager && $is_airgap ]]; then
|
if [[ $is_manager && $is_airgap ]]; then
|
||||||
info "Creating airgap repo"
|
info "Creating airgap repo"
|
||||||
|
|||||||
Reference in New Issue
Block a user