From 3e08506c4e5dd82ad73f1ebe43339697f1d60391 Mon Sep 17 00:00:00 2001 From: weslambert Date: Thu, 30 Mar 2023 13:26:36 -0400 Subject: [PATCH] Fix syntax for $is_cloud test --- salt/common/tools/sbin/so-common | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/common/tools/sbin/so-common b/salt/common/tools/sbin/so-common index 70f4a1cef..06d359748 100755 --- a/salt/common/tools/sbin/so-common +++ b/salt/common/tools/sbin/so-common @@ -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"