From 9a9fdb3d88756177c7b0382e5ebe8e1e4ecb7815 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Fri, 10 May 2013 16:04:16 +0000 Subject: Also copy in the systems.json.txt --- bins/trove-early-setup | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bins/trove-early-setup b/bins/trove-early-setup index 3ade647..f1edcea 100755 --- a/bins/trove-early-setup +++ b/bins/trove-early-setup @@ -96,8 +96,9 @@ cache-configured: /home/cache/.cache-setup PREFIX=$$(echo "##PREFIX##" | sed -f /etc/trove-setup.sed); \ su -c "ssh localhost create $${PREFIX}/local-config/mason" - git; \ su -c "git clone ssh://localhost/$${PREFIX}/local-config/mason.git /tmp/mason-config" - git - su -c "cd /tmp/mason-config; mkdir ci1; (echo '[';echo ']') > ci1/systems.json.txt" - git + su -c "mkdir /tmp/mason-config/ci1" - git su -c "cp /var/lib/trove-setup/hosts.json.txt /tmp/mason-config/ci1" - git + su -c "cp /var/lib/trove-setup/systems.json.txt /tmp/mason-config/ci1" - git su -c "cd /tmp/mason-config; git add ci1; git commit -m 'Set initial Mason config'; git push origin master" - git su -c "rm -fr /tmp/mason-config" - git su -c 'mkdir /home/mason/jobs' - mason -- cgit v1.2.1