mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 09:42:46 +01:00
Setup Script - Salt Key rework
This commit is contained in:
@@ -43,8 +43,8 @@ accept_salt_key_local() {
|
||||
|
||||
accept_salt_key_remote() {
|
||||
# Accept the key
|
||||
|
||||
ssh -i ~/.ssh/so.key socore@$MSRV < sudo salt-key -ya $HOSTNAME
|
||||
SSHCOMMANDS="sudo salt-key -ya $HOSTNAME"
|
||||
ssh -i ~/.ssh/so.key socore@$MSRV < $SSHCOMMANDS
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user