mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Fixed issues around ipv4/v6 flags being set incorrectly
This commit is contained in:
@@ -258,7 +258,7 @@ create_bond_nmcli() {
|
|||||||
bond.options "mode=0" \
|
bond.options "mode=0" \
|
||||||
802-3-ethernet.mtu $MTU \
|
802-3-ethernet.mtu $MTU \
|
||||||
ipv4.method "disabled" \
|
ipv4.method "disabled" \
|
||||||
ipv6.method "disabled" \
|
ipv6.method "ignore" \
|
||||||
connection.autoconnect "yes" \
|
connection.autoconnect "yes" \
|
||||||
>> ~/sosetup.log 2>&1
|
>> ~/sosetup.log 2>&1
|
||||||
|
|
||||||
@@ -267,10 +267,8 @@ create_bond_nmcli() {
|
|||||||
BONDNIC="$(echo -e "${BNIC}" | tr -d '"')"
|
BONDNIC="$(echo -e "${BNIC}" | tr -d '"')"
|
||||||
# Create the slave interface and assign it to the bond
|
# Create the slave interface and assign it to the bond
|
||||||
nmcli con add type ethernet ifname $BONDNIC master bond0 \
|
nmcli con add type ethernet ifname $BONDNIC master bond0 \
|
||||||
connection.autoconnect yes \
|
connection.autoconnect "yes" \
|
||||||
802-3-ethernet.mtu $MTU \
|
802-3-ethernet.mtu $MTU \
|
||||||
ipv4.method "disabled" \
|
|
||||||
ipv6.method "disabled" \
|
|
||||||
con-name "bond0-slave-$BONDNIC" \
|
con-name "bond0-slave-$BONDNIC" \
|
||||||
>> ~/sosetup.log 2>&1
|
>> ~/sosetup.log 2>&1
|
||||||
# Bring the slave interface up
|
# Bring the slave interface up
|
||||||
|
|||||||
Reference in New Issue
Block a user