From d018648bc074ecbf33b5cb3c1870f6b4459e17c8 Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Wed, 27 May 2020 14:53:40 -0400 Subject: [PATCH] create addtotab templates sooner in setup - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 --- setup/so-setup | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup/so-setup b/setup/so-setup index d059376b9..be5421895 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -401,11 +401,14 @@ fi set_progress_str 21 'Copying minion pillars to master' copy_minion_tmp_files >> $setup_log 2>&1 + if [[ $is_master ]]; then + addtotab_generate_templates >> $setup_log 2>&1 + fi + set_progress_str 22 'Generating CA and checking in' salt_checkin >> $setup_log 2>&1 if [[ $is_master || $is_helix ]]; then - addtotab_generate_templates >> $setup_log 2>&1 set_progress_str 25 'Configuring firewall' set_initial_firewall_policy >> $setup_log 2>&1