summaryrefslogtreecommitdiffstats
path: root/components/congress/install/bash/install_congress_1.sh
diff options
context:
space:
mode:
Diffstat (limited to 'components/congress/install/bash/install_congress_1.sh')
-rw-r--r--components/congress/install/bash/install_congress_1.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/components/congress/install/bash/install_congress_1.sh b/components/congress/install/bash/install_congress_1.sh
index 8f4676c..423e887 100644
--- a/components/congress/install/bash/install_congress_1.sh
+++ b/components/congress/install/bash/install_congress_1.sh
@@ -25,7 +25,7 @@
# $ cd ~
# $ wget https://git.opnfv.org/cgit/copper/plain/components/congress/install/bash/install_congress_1.sh
# $ wget https://git.opnfv.org/cgit/copper/plain/components/congress/install/bash/install_congress_2.sh
-# $ sh install_congress_1.sh [openstack-branch]
+# $ bash install_congress_1.sh [openstack-branch]
# optionally specifying the branch identifier to use for OpenStack
#
@@ -69,9 +69,10 @@ EOF
echo "install other dependencies"
sudo apt-get install apg git gcc python-dev libxml2 libxslt1-dev libzip-dev -y
sudo pip install --upgrade pip virtualenv setuptools pbr tox
- source ~/admin-openrc.sh <<EOF
-openstack
-EOF
+ sed -i -- 's/echo/#echo/g' ~/admin-openrc.sh
+ sed -i -- 's/read -sr OS_PASSWORD_INPUT/#read -sr OS_PASSWORD_INPUT/g' ~/admin-openrc.sh
+ sed -i -- 's/$OS_PASSWORD_INPUT/openstack/g' ~/admin-openrc.sh
+ cp ~/admin-openrc.sh ~/congress
else
# Centos
echo "Centos-based install"