summaryrefslogtreecommitdiff
path: root/morphlib/plugins/deploy_plugin.py
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2013-03-12 10:34:15 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2013-03-12 10:34:15 +0000
commit53e8289b810a9f3effb6b1b8f5d22f5fcbf37ca9 (patch)
treed2cde0b8b5f165c20fa0818454ab742c048ab321 /morphlib/plugins/deploy_plugin.py
parent63855bc7f8314b216c8842a03b0dfb3a84f1c770 (diff)
parent65d93b95b70e2e889367f936cf678ce898c4450f (diff)
downloadmorph-53e8289b810a9f3effb6b1b8f5d22f5fcbf37ca9.tar.gz
Merge remote-tracking branch 'origin/baserock/richardholland/morph-deploy--tempdir'
Diffstat (limited to 'morphlib/plugins/deploy_plugin.py')
-rw-r--r--morphlib/plugins/deploy_plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/plugins/deploy_plugin.py b/morphlib/plugins/deploy_plugin.py
index f9a345ff..b7d9189a 100644
--- a/morphlib/plugins/deploy_plugin.py
+++ b/morphlib/plugins/deploy_plugin.py
@@ -111,8 +111,8 @@ class DeployPlugin(cliapp.Plugin):
# Unpack the artifact (tarball) to a temporary directory.
self.app.status(msg='Unpacking system for configuration')
- system_tree = tempfile.mkdtemp()
-
+ system_tree = tempfile.mkdtemp(dir=self.app.settings['tempdir'])
+
if build_command.lac.has(artifact):
f = build_command.lac.get(artifact)
else: