aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python
diff options
context:
space:
mode:
authorMiroslav Miklus <mmiklus@cisco.com>2016-10-19 00:10:49 +0200
committerMiroslav Miklus <mmiklus@cisco.com>2016-10-19 00:10:49 +0200
commitc0aa0dd559a0496057c579354eafad76e12af7ba (patch)
tree2902c2294c1de396bbc82baaa814dd599f47c848 /resources/libraries/python
parent91e3d977f9f4e2c1c5e09fd406669b49847883db (diff)
T-REX installer preserve env variables
This can be usefull for variables like http_proxy. Change-Id: I31128d2a57c961c6d888b6693b68fb57bde11436 Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
Diffstat (limited to 'resources/libraries/python')
-rw-r--r--resources/libraries/python/TrafficGenerator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/TrafficGenerator.py b/resources/libraries/python/TrafficGenerator.py
index c28e8ecd10..459a6cc2bb 100644
--- a/resources/libraries/python/TrafficGenerator.py
+++ b/resources/libraries/python/TrafficGenerator.py
@@ -161,7 +161,7 @@ class TrafficGenerator(object):
ssh.connect(tg_node)
(ret, stdout, stderr) = ssh.exec_command(
- "sudo sh -c '{}/resources/tools/t-rex/"
+ "sudo -E sh -c '{}/resources/tools/t-rex/"
"t-rex-installer.sh'".format(Constants.REMOTE_FW_DIR),
timeout=1800)
if int(ret) != 0: