Commit bacb362d authored by Corey Innis's avatar Corey Innis

Set $TMPDIR to /mnt/tmp to maximize use of instance store on AWS.

Seems faster in tests of n=1 trial.
Signed-off-by: default avatarcaleb miles <cmiles@pivotal.io>
parent 23a974eb
......@@ -79,8 +79,12 @@ EOS
config.vm.provision :shell do |shell|
shell.inline = <<-BASH
mkdir -p /mnt/tmp
chown -R ubuntu:ubuntu /mnt/tmp
echo >> /home/ubuntu/.bashrc
echo 'export TMPDIR=/mnt/tmp' >> /home/ubuntu/.bashrc
mkdir -p /mnt/stemcells
chown -R ubuntu /mnt/stemcells
chown -R ubuntu:ubuntu /mnt/stemcells
mkdir -p /bosh/tmp
(
cd /bosh
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment