summaryrefslogtreecommitdiffstats
path: root/utils/test/testapi/docker/prepare-env.sh
blob: 9f07efbd100ec847228370e1b308a4e390ab2d67 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
FILE=/etc/opnfv_testapi/config.ini


if [ "$mongodb_url" != "" ]; then
    sudo crudini --set --existing $FILE mongo url $mongodb_url
fi

if [ "$swagger_url" != "" ]; then
    sudo crudini --set --existing $FILE swagger base_url $swagger_url
fi