From 64c366971fc54fccd84854da82cccbf9462a5f46 Mon Sep 17 00:00:00 2001 From: William Wernert Date: Wed, 5 Aug 2020 16:13:25 -0400 Subject: [PATCH] [fix] Redirect ca state apply in setup to /dev/null Redirect ca state apply line in accept_salt_key_remote to /dev/null to avoid generating error in setup log --- setup/so-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/so-functions b/setup/so-functions index ad4b4252f..837df5eb5 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -27,7 +27,7 @@ accept_salt_key_remote() { echo "Accept the key remotely on the manager" >> "$setup_log" 2>&1 # Delete the key just in case. ssh -i /root/.ssh/so.key soremote@"$MSRV" sudo salt-key -d "$MINION_ID" -y - salt-call state.apply ca + salt-call state.apply ca >> /dev/null 2>&1 ssh -i /root/.ssh/so.key soremote@"$MSRV" sudo salt-key -a "$MINION_ID" -y }