forked from ungleich-public/cdist
setup '__cdist_out_dir' in path for use in Object
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
2157cef2a6
commit
5c9694215c
1 changed files with 2 additions and 0 deletions
|
@ -68,6 +68,8 @@ class Path:
|
||||||
self.base_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir))
|
self.base_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir))
|
||||||
|
|
||||||
self.temp_dir = tempfile.mkdtemp()
|
self.temp_dir = tempfile.mkdtemp()
|
||||||
|
os.environ['__cdist_out_dir'] = self.temp_dir
|
||||||
|
|
||||||
self.target_host = target_host
|
self.target_host = target_host
|
||||||
|
|
||||||
# Input directories
|
# Input directories
|
||||||
|
|
Loading…
Reference in a new issue