Skip to content

Commit

Permalink
provision/downburst: add PATH to environment
Browse files Browse the repository at this point in the history
Need to passthrough the PATH to downburst environment,
otherwise on some system like macos where mkisofs installed
via homebrew it cannot be found.

Signed-off-by: Kyr Shatskyy <[email protected]>
  • Loading branch information
Kyr Shatskyy committed Aug 4, 2024
1 parent 3b85563 commit 6c4058d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions teuthology/provision/downburst.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def downburst_executable():

def downburst_environment():
env = dict()
env['PATH'] = os.environ.get('PATH')
discover_url = os.environ.get('DOWNBURST_DISCOVER_URL')
if config.downburst and not discover_url:
if isinstance(config.downburst, dict):
Expand Down

0 comments on commit 6c4058d

Please sign in to comment.