update service file, use salt.minion state to update mine_functions

This commit is contained in:
Josh Patterson
2025-09-24 15:19:46 -04:00
parent 4587301cca
commit 3a87af805f
2 changed files with 3 additions and 15 deletions

View File

@@ -1194,10 +1194,8 @@ hypervisor_local_states() {
info "Running libvirt states for hypervisor"
logCmd "salt-call state.apply libvirt.64962 --local --file-root=../salt/ -l info queue=True"
info "Setting up bridge for $MNIC"
salt-call state.apply libvirt.bridge --local --file-root=../salt/ -l info pillar='{"host": {"mainint": "'$MNIC'"}}' queue=True
if [ $is_managerhype ]; then
logCmd "salt-call state.apply salt.minion queue=True"
fi
salt-call state.apply libvirt.bridge --local --file-root=../salt/ -l info pillar='{"host": {"mainint": "'$MNIC'"}}' queue=True
logCmd "salt-call state.apply salt.minion queue=True"
fi
}