diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-04-16 09:04:36 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-04-16 09:04:36 +0300 |
commit | 76e181000d6aa2bda908798ba6d01435e638581c (patch) | |
tree | 941448a4eab06fa155a3caf162608f90ca12b7ea /ick2/actionenvs.py | |
parent | aa74a94112be77a72ebed48f5e31e0731eb9fbc6 (diff) | |
download | ick2-76e181000d6aa2bda908798ba6d01435e638581c.tar.gz |
Fix: use nspawn --setenv, -E seems to not work
Diffstat (limited to 'ick2/actionenvs.py')
-rw-r--r-- | ick2/actionenvs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ick2/actionenvs.py b/ick2/actionenvs.py index b434079..3ac762f 100644 --- a/ick2/actionenvs.py +++ b/ick2/actionenvs.py @@ -164,5 +164,5 @@ class ContainerEnvironment(ActionEnvironment): '--chdir', '/workspace', ] for key in self._extra_env: # pragma: no cover - prefix.extend(['-E', '{}={}'.format(key, self._extra_env[key])]) + prefix.extend(['-setenv', '{}={}'.format(key, self._extra_env[key])]) return self.host_runcmd(prefix + argv) |