summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydra/newkeys2
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.