configure bond and monitor nics

This commit is contained in:
m0duspwnens
2025-02-07 14:45:06 -05:00
parent 160c84ec1a
commit 010c205eec
4 changed files with 97 additions and 3 deletions
@@ -44,10 +44,12 @@ sool9-{{host}}:
# if calling states with pillar values, need to pass them in since minion pillars are not set until setup.virt.sominion state runs
inline_script:
- |
sudo salt-call state.apply salt.mine_functions \
salt-call state.apply salt.mine_functions \
pillar='{"host": {"mainint": "enp1s0"}}'
- salt-call mine.update
- |
salt-call state.apply setup.virt \
pillar='{"host": {"mainint": "enp1s0"}}'
- 'sudo salt-call mine.update'
- 'sudo salt-call state.apply setup.virt'
# grains to add to the minion
{%- endfor %}