Setup Script - Specify SSH key

This commit is contained in:
Mike Reeves
2018-03-27 09:26:41 -04:00
parent aaf2277600
commit 14cf88fdd7

View File

@@ -112,9 +112,9 @@ configure_sensor_pillar() {
copy_ssh_key() {
# Generate and copy SSH key
cat /dev/zero | ssh-keygen -t rsa -q -N ""
cat /dev/zero | ssh-keygen -f /root/so.key -t rsa -q -N ""
#Copy the key over to the master
ssh-copy-id socore@$MASTER
ssh-copy-id -i /root/so.key socore@$MASTER
}
create_bond() {