From: tierno Date: Fri, 20 Jan 2017 13:10:05 +0000 (+0100) Subject: minor change at initopenvim script X-Git-Tag: v2.0.0~63 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=3afd0ce7dcb73791cdefadc41456a5d50a476487;p=osm%2Fopenvim.git minor change at initopenvim script Change-Id: I9b8e9b5832ead698d49ec7732aa91e7b69d5c191 Signed-off-by: tierno --- diff --git a/scripts/initopenvim.sh b/scripts/initopenvim.sh index 44fe9e2..ae839ba 100755 --- a/scripts/initopenvim.sh +++ b/scripts/initopenvim.sh @@ -195,7 +195,7 @@ then ${DIRvim}/openvim net-create $DIRvim/test/networks/net-example3.yaml || ! echo "fail" >&2 || $_exit 1 printf "%-50s" "Creating openvim tenant 'TEST-admin': " - result=`openvim tenant-create '{"tenant": {"name":"TEST-admin", "description":"admin"}}'` + result=`${DIRvim}/openvim tenant-create '{"tenant": {"name":"TEST-admin", "description":"admin"}}'` vimtenant=`echo $result |gawk '{print $1}'` #check a valid uuid is obtained ! is_valid_uuid $vimtenant && echo "FAIL" && echo " $result" && $_exit 1