summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testcases/config_functest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/testcases/config_functest.py b/testcases/config_functest.py
index a106f07bc..cab2a9458 100644
--- a/testcases/config_functest.py
+++ b/testcases/config_functest.py
@@ -231,7 +231,8 @@ def install_rally():
logger.debug("Executing %s./install_rally.sh..." %RALLY_REPO_DIR)
install_script = RALLY_REPO_DIR + "install_rally.sh"
- functest_utils.execute_command(install_script,logger)
+ cmd = 'sudo ' + install_script
+ functest_utils.execute_command(cmd,logger)
logger.debug("Creating Rally environment...")
cmd = "rally deployment create --fromenv --name=opnfv-arno-rally"