Also disable ipv6 for install

This commit is contained in:
William Wernert
2020-09-25 16:10:26 -04:00
parent d76a4b1359
commit 9acf610262
2 changed files with 9 additions and 0 deletions

View File

@@ -745,6 +745,14 @@ disable_auto_start() {
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() {
filter_unused_nics
if [ ${#filtered_nics[@]} -ne 0 ]; then

View File

@@ -462,6 +462,7 @@ fi
# Set initial percentage to 0
export percentage=0
set_path
disable_ipv6
if [[ $is_manager && $is_airgap ]]; then
info "Creating airgap repo"