reduce setting ssh commands down to 1 function and 1 function call

This commit is contained in:
m0duspwnens
2021-01-06 08:58:33 -05:00
parent 94fd79cd28
commit 48f81d9ac6
2 changed files with 15 additions and 34 deletions

View File

@@ -146,9 +146,7 @@ case "$setup_type" in
esac
#set ssh commands that will be used based on if this is an automated test install or not
get_scp_cmd $automated
get_ssh_cmd $automated
get_ssh_copy_id_cmd $automated
set_ssh_cmds $automated
# Allow execution of SO tools during setup
local_sbin="$(pwd)/../salt/common/tools/sbin"