diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-04-14 11:05:00 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-04-14 11:05:00 -0300 |
commit | 4b395912f9d5759ac7d0ae92d7096f92e35a37cf (patch) | |
tree | 207e149f49a88837170d3c8bd08c10e5a111c242 | |
parent | 71ab2e1023b219cf9ce2665ddb30f4e416419bb4 (diff) | |
download | hydra-4b395912f9d5759ac7d0ae92d7096f92e35a37cf.tar.gz hydra-4b395912f9d5759ac7d0ae92d7096f92e35a37cf.tar.bz2 |
Newkeys: add synced keys into git
-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. |