diff options
author | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2012-09-13 16:24:45 +0100 |
---|---|---|
committer | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2012-09-13 16:24:45 +0100 |
commit | ceb0f917bf881a65fb254468ab4c0175d4b88798 (patch) | |
tree | fd4f6a8cdcba18f3f496d22ded6e683aff5b8b3b /bins | |
parent | d82ae7b8ea50962f40c7e468242ae207fd628483 (diff) | |
download | trove-setup-ceb0f917bf881a65fb254468ab4c0175d4b88798.tar.gz |
Lorry setup
Diffstat (limited to 'bins')
-rwxr-xr-x | bins/trove-early-setup | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/bins/trove-early-setup b/bins/trove-early-setup index 1ba4e3a..9c8fd65 100755 --- a/bins/trove-early-setup +++ b/bins/trove-early-setup @@ -27,5 +27,17 @@ $(eval $(foreach USER,$(USERS),$(call make_user_rules,$(USER)))) users: $(ALL_USER_TARGETS) -gitano-configured: users +gitano-setup: /home/git/.gitano-setup +/home/git/.gitano-setup: su -c 'gitano-setup /etc/gitano-setup.clod' - git + touch $@ + +gitano-configured: gitano-lorry-setup + +gitano-lorry-setup: /home/git/.gitano-lorry-setup + +/home/git/.gitano-lorry-setup: + cp /home/lorry/.ssh/id_rsa.pub /tmp/lorry.pub + su -c 'ssh git@localhost as lorry sshkey add trove < /tmp/lorry.pub' - git + rm /tmp/lorry.pub + |