diff options
-rwxr-xr-x | share/hydra/newkeys | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/share/hydra/newkeys b/share/hydra/newkeys index ab6b5ea..c46a809 100755 --- a/share/hydra/newkeys +++ b/share/hydra/newkeys @@ -42,7 +42,8 @@ function hydra_genpairs { BASEDIR="/tmp" if [ "$1" != "pgp" ]; then - keyringer $HYDRA genpair ssh nodes/$node/ssh/id_rsa $host $privkey + #keyringer $HYDRA genpair ssh nodes/$node/ssh/id_rsa $host $privkey + keyringer $HYDRA genpair ssh nodes/$node/ssh/id_rsa $host fi if [ "$1" != "ssh" ]; then @@ -58,10 +59,10 @@ function hydra_genpairs { hydra_unset_tmpfile $TMPWORK # Add key into puppet git repository. - ( cd $PUPPET_KEYS/ssh/$node && git add $(basename $privkey) $(basename $pubkey) ) + #( cd $PUPPET_KEYS/ssh/$node && git add $(basename $privkey) $(basename $pubkey) ) # Sync pubkeys folder - ( cd $PUPPET_KEYS/public && find ../ssh/ -maxdepth 2 -name '*.pub' -exec cp {} . \; && git add . ) + #( cd $PUPPET_KEYS/public && find ../ssh/ -maxdepth 2 -name '*.pub' -exec cp {} . \; && git add . ) } # Load. |