diff options
author | Ric Holland <richard.holland@codethink.co.uk> | 2013-03-07 14:51:20 +0000 |
---|---|---|
committer | Ric Holland <richard.holland@codethink.co.uk> | 2013-03-07 14:51:20 +0000 |
commit | 65d93b95b70e2e889367f936cf678ce898c4450f (patch) | |
tree | ba94914ddabc5ca39cc48304cb197468f01654fc /morphlib/plugins | |
parent | 9e61a67f416f2027fa296c04e59af1feaa5e9921 (diff) | |
download | morph-65d93b95b70e2e889367f936cf678ce898c4450f.tar.gz |
Fixed 'morph deploy' to obey --tempdir
Allowed user to set the location of the temp directory using --tempdir
Diffstat (limited to 'morphlib/plugins')
-rw-r--r-- | morphlib/plugins/deploy_plugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/plugins/deploy_plugin.py b/morphlib/plugins/deploy_plugin.py index f9a345ff..ac403cdd 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: |