set interface for network.ip_addrs for hypervisors

This commit is contained in:
Josh Patterson
2025-09-24 16:50:29 -04:00
parent 3a87af805f
commit c836dd2acd
3 changed files with 7 additions and 2 deletions

View File

@@ -1195,7 +1195,9 @@ hypervisor_local_states() {
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
logCmd "salt-call state.apply salt.minion queue=True"
if [ $is_managerhype ]; then
logCmd "salt-call state.apply salt.minion queue=True"
fi
fi
}