(multinode) Make workspace persist reboot

- Move the default temp location to /var/tmp so that gate
  workspace directories persist across reboots

Change-Id: Ic11d163c3aba36a08f42bd1739003446aed3a0ce
This commit is contained in:
Scott Hussey 2019-01-31 13:07:03 -06:00 committed by Kaspars Skels
parent 074745b203
commit 7ef2e8b988
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash
export TEMP_DIR=${TEMP_DIR:-$(mktemp -d)}
export TEMP_DIR=${TEMP_DIR:-$(mktemp -d -p /var/tmp)}
export NAMEKEY_FILE=${NAMEKEY_FILE:-"$HOME/.airship_key"}
export DEFINITION_DEPOT="${TEMP_DIR}/site_yaml/"
export RENDERED_DEPOT="${TEMP_DIR}/rendered_yaml/"