From 15f4f2295c6807d857f9b61ce291119a0a46d11f Mon Sep 17 00:00:00 2001 From: tierno Date: Wed, 14 Jun 2017 13:23:01 +0200 Subject: [PATCH] Added env OPENMANO_TENANT=osm at RO container Change-Id: I8a72360fd242b8521c39847c49c48d2270f136fd Signed-off-by: tierno --- installers/install_osm.sh | 3 +++ 1 file changed, 3 insertions(+) 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` -- 2.25.1