pass pillar properly

This commit is contained in:
Josh Patterson
2025-09-04 11:02:27 -04:00
parent a007fa6505
commit 38ef4a6046

View File

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