From dead8f95777a6163aa2e5a5455a21d028885f06f Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Fri, 10 May 2013 14:30:07 +0000 Subject: Use default hosts.json.txt from /var/lib/trove-setup This is created either by the user of the trove configuration extension, or the configuration extension itself if one wasn't provided. --- bins/trove-early-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bins/trove-early-setup b/bins/trove-early-setup index 82aec11..3ade647 100755 --- a/bins/trove-early-setup +++ b/bins/trove-early-setup @@ -97,7 +97,7 @@ cache-configured: /home/cache/.cache-setup 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 "cd /tmp/mason-config; (echo '['; echo ']') > ci1/hosts.json.txt" - git + su -c "cp /var/lib/trove-setup/hosts.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