mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 02:02:50 +01:00
need to sync
This commit is contained in:
@@ -753,13 +753,12 @@ if ! [[ -f $install_opt_file ]]; then
|
|||||||
logCmd "salt-call state.show_top"
|
logCmd "salt-call state.show_top"
|
||||||
sleep 2 # Debug RSA Key format errors
|
sleep 2 # Debug RSA Key format errors
|
||||||
logCmd "salt-key -ya $MINION_ID"
|
logCmd "salt-key -ya $MINION_ID"
|
||||||
|
logCmd "salt-call saltutil.sync_all"
|
||||||
# we need to sync the runner and generate the soqemussh user keys so that first highstate after license created
|
# we need to sync the runner and generate the soqemussh user keys so that first highstate after license created
|
||||||
# doesnt have a state failure for soqemussh_pub_key source for id_ed25519.pub missing
|
# doesnt have a state failure for soqemussh_pub_key source for id_ed25519.pub missing
|
||||||
if [[ $is_manager || $is_managerhype ]]; then
|
if [[ $is_manager || $is_managerhype ]]; then
|
||||||
logCmd "salt-run saltutil.sync_all"
|
logCmd "salt-run saltutil.sync_all"
|
||||||
logCmd "salt-run setup_hypervisor.regenerate_ssh_keys"
|
logCmd "salt-run setup_hypervisor.regenerate_ssh_keys"
|
||||||
else
|
|
||||||
logCmd "salt-call saltutil.sync_all"
|
|
||||||
fi
|
fi
|
||||||
logCmd "salt-call state.apply common.packages"
|
logCmd "salt-call state.apply common.packages"
|
||||||
logCmd "salt-call state.apply common"
|
logCmd "salt-call state.apply common"
|
||||||
|
|||||||
Reference in New Issue
Block a user