summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-04-14 11:05:00 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-04-14 11:05:00 -0300
commit4b395912f9d5759ac7d0ae92d7096f92e35a37cf (patch)
tree207e149f49a88837170d3c8bd08c10e5a111c242
parent71ab2e1023b219cf9ce2665ddb30f4e416419bb4 (diff)
downloadhydra-4b395912f9d5759ac7d0ae92d7096f92e35a37cf.tar.gz
hydra-4b395912f9d5759ac7d0ae92d7096f92e35a37cf.tar.bz2
Newkeys: add synced keys into git
-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.