Setup Script - Specify SSH key

This commit is contained in:
Mike Reeves
2018-03-26 18:26:08 -04:00
parent b8a2363be3
commit cab2567a0b

View File

@@ -112,9 +112,9 @@ configure_sensor_pillar() {
copy_ssh_key() { copy_ssh_key() {
# Generate and 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 #Copy the key over to the master
ssh-copy-id socore@$MASTER ssh-copy-id -i /root/so.key socore@$MASTER
} }
create_bond() { create_bond() {