diff options
-rw-r--r-- | scripts/lib/wic/plugins/imager/direct.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/plugins/imager/direct.py b/scripts/lib/wic/plugins/imager/direct.py index 4637fbf302..b38e876758 100644 --- a/scripts/lib/wic/plugins/imager/direct.py +++ b/scripts/lib/wic/plugins/imager/direct.py | |||
@@ -122,7 +122,7 @@ class DirectImageCreator: | |||
122 | """ | 122 | """ |
123 | self.name = name | 123 | self.name = name |
124 | self.outdir = outdir | 124 | self.outdir = outdir |
125 | self.workdir = tempfile.mktemp(prefix='wic') | 125 | self.workdir = tempfile.mkdtemp(dir=outdir, prefix='tmp.wic.') |
126 | self.ks = ksobj | 126 | self.ks = ksobj |
127 | 127 | ||
128 | self._image = None | 128 | self._image = None |