diff options
-rwxr-xr-x | share/hydra/newkeys | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydra/newkeys b/share/hydra/newkeys index 418ed7a..3f04311 100755 --- a/share/hydra/newkeys +++ b/share/hydra/newkeys @@ -61,7 +61,7 @@ function hydra_genpairs { ( 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 {} . \; ) + ( cd $PUPPET_KEYS/public && find ../ssh/ -maxdepth 2 -name '*.pub' -exec cp {} . \; && git add . ) } # Load. |