mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
pass pillar properly
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user