From: tierno Date: Wed, 14 Jun 2017 11:23:01 +0000 (+0200) Subject: Added env OPENMANO_TENANT=osm at RO container X-Git-Tag: v2.0.2~13 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=15f4f2295c6807d857f9b61ce291119a0a46d11f;p=osm%2Fdevops.git Added env OPENMANO_TENANT=osm at RO container Change-Id: I8a72360fd242b8521c39847c49c48d2270f136fd Signed-off-by: tierno --- diff --git a/installers/install_osm.sh b/installers/install_osm.sh index 34494ec2..8f482722 100755 --- a/installers/install_osm.sh +++ b/installers/install_osm.sh @@ -172,6 +172,9 @@ function configure(){ lxc exec RO -- openmano tenant-delete -f osm >/dev/null RO_TENANT_ID=`lxc exec RO -- openmano tenant-create osm |awk '{print $1}'` + lxc exec RO -- sed -i '/export OPENMANO_TENANT=osm/d' .bashrc + lxc exec RO -- sed -i '$ i export OPENMANO_TENANT=osm' .bashrc + #lxc exec RO -- sh -c 'echo "export OPENMANO_TENANT=osm" >> .bashrc' echo -e " Configuring VCA" JUJU_PASSWD=`date +%s | sha256sum | base64 | head -c 32`