From f51cd008f27c69bcc34de92cf8f1626f2fe3fbb8 Mon Sep 17 00:00:00 2001 From: Josh Patterson Date: Fri, 29 Aug 2025 10:04:56 -0400 Subject: [PATCH] only manage bond script if bond0 exists --- salt/sensor/init.sls | 2 ++ 1 file changed, 2 insertions(+) diff --git a/salt/sensor/init.sls b/salt/sensor/init.sls index 1d7899b62..ee615bf9b 100644 --- a/salt/sensor/init.sls +++ b/salt/sensor/init.sls @@ -39,6 +39,8 @@ combine_bond_script: - template: jinja - defaults: CHANNELS: {{ SENSORMERGED.channels }} + - onlyif: + - ip link show bond0 execute_combine_bond: cmd.run: