mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-16 22:12:48 +01:00
Fix syntax for $is_cloud test
This commit is contained in:
@@ -55,7 +55,7 @@ add_interface_bond0() {
|
||||
fi
|
||||
done
|
||||
|
||||
if ! [[ is_cloud ]]; then
|
||||
if ! [[ $is_cloud ]]; then
|
||||
# Check if the bond slave connection has already been created
|
||||
nmcli -f name,uuid -p con | grep -q "bond0-slave-$BNIC"
|
||||
local found_int=$?
|
||||
@@ -77,7 +77,7 @@ add_interface_bond0() {
|
||||
|
||||
ip link set dev "$BNIC" arp off multicast off allmulticast off promisc on
|
||||
|
||||
if ! [[ is_cloud ]]; then
|
||||
if ! [[ $is_cloud ]]; then
|
||||
# Bring the slave interface up
|
||||
if [[ $verbose == true ]]; then
|
||||
nmcli con up "bond0-slave-$BNIC"
|
||||
|
||||
Reference in New Issue
Block a user