diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2016-01-13 10:52:06 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-01-13 10:52:06 +0000 |
commit | 5654af97aa383050dfa358cc9bb6e6d4d8d060c7 (patch) | |
tree | 75d8d3d3dfe515c90525180f31641c27c7fb58c8 /docker/common.sh | |
parent | 0f9250f654be1e2ced4b6d640ec13e7e78db39ee (diff) | |
parent | 00b51ffe114702ce207aa7ba2e40f01984c0c57c (diff) |
Merge "Place config_functest.yaml outside the functest repo"
Diffstat (limited to 'docker/common.sh')
-rwxr-xr-x | docker/common.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docker/common.sh b/docker/common.sh index aabc32cbe..eccdc252a 100755 --- a/docker/common.sh +++ b/docker/common.sh @@ -22,9 +22,12 @@ # config_file=/home/opnfv/functest/conf/config_functest.yaml if [ ! -f ${config_file} ]; then - config_file=$(find / -name config_functest.yaml) + default_config_file=$(find /home/opnfv/repos -name config_functest.yaml) + cp $default_config_file $config_file + echo "config_functest.yaml not provided. Using default one" fi + # Parse config_functest.yaml file # TODO: this is not the best way to parse a yaml file in bash... |