[feat] Add check to see if bond nics are managed by Network Manager

This commit is contained in:
William Wernert
2020-07-01 09:43:39 -04:00
parent 3a9d252af3
commit c97798b57d
2 changed files with 19 additions and 1 deletions

View File

@@ -42,4 +42,8 @@ export default_salt_dir=/opt/so/saltstack/default
export local_salt_dir=/opt/so/saltstack/local
export SCRIPTDIR=$(cd `dirname $0` && pwd)
SCRIPTDIR=$(cd "$(dirname "$0")" && pwd)
export SCRIPTDIR
readarray -t nmcli_dev_status_list <<< "$(nmcli -t -f DEVICE,STATE -c no dev status)"
export nmcli_dev_status_list