diff options
author | Miroslav Miklus <mmiklus@cisco.com> | 2016-10-19 00:10:49 +0200 |
---|---|---|
committer | Miroslav Miklus <mmiklus@cisco.com> | 2016-10-19 00:10:49 +0200 |
commit | c0aa0dd559a0496057c579354eafad76e12af7ba (patch) | |
tree | 2902c2294c1de396bbc82baaa814dd599f47c848 | |
parent | 91e3d977f9f4e2c1c5e09fd406669b49847883db (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>
-rw-r--r-- | resources/libraries/python/TrafficGenerator.py | 2 |
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: |