diff options
author | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-12-30 17:35:09 +0000 |
---|---|---|
committer | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-12-30 17:35:09 +0000 |
commit | bb0d5321e23a34729a5d396dd32df26a4d436875 (patch) | |
tree | 307784a7c24e84342aadb912ab091d6970de6275 /bins/trove-early-setup | |
parent | caa670eb15bee2a24fe0cf207248a921616a4b18 (diff) | |
download | trove-setup-bb0d5321e23a34729a5d396dd32df26a4d436875.tar.gz |
trove-early-setup: Create ccache dir and set up the NFS serverjannispohlmann/enable-ccache-nfs
Create /home/cache/ccache, add an /etc/exports entry to allow clients
to mount this directory with read/write permissions via NFS, and
enable/start nfs-server.service.
Diffstat (limited to 'bins/trove-early-setup')
-rwxr-xr-x | bins/trove-early-setup | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bins/trove-early-setup b/bins/trove-early-setup index e25c652..88fb8d8 100755 --- a/bins/trove-early-setup +++ b/bins/trove-early-setup @@ -86,6 +86,10 @@ lorry-configured: lorry-setup lorry-controller-configured cache-setup: /home/cache/.cache-setup /home/cache/.cache-setup: $(ALL_USER_TARGETS) su -c 'mkdir /home/cache/artifacts' - cache + su -c 'mkdir /home/cache/ccache' - cache + echo '/home/cache/ccache *(rw,all_squash,no_subtree_check,anonuid=1002,anongid=1002)' > /etc/exports + systemctl enable nfs-server.service + systemctl start nfs-server.service touch $@ cache-configured: cache-setup |