redirect and throw in bg

This commit is contained in:
m0duspwnens
2024-05-03 14:54:44 -04:00
parent 3d4fd59a15
commit bdf1b45a07
2 changed files with 1 additions and 16 deletions

View File

@@ -605,7 +605,7 @@ function updateMineAndApplyStates() {
# calls so-common and set_minionid sets MINIONID to local minion id
set_minionid
# $MINIONID is the minion id of the manager and $MINION_ID is the target node or the node being configured
salt-run state.orch orch.deploy_newnode pillar="{'setup': {'manager': $MINIONID, 'newnode': $MINION_ID }}"
salt-run state.orch orch.deploy_newnode pillar="{'setup': {'manager': $MINIONID, 'newnode': $MINION_ID }}" > /dev/null 2>&1 &
}
function setupMinionFiles() {