summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: