summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblsaws <bryan.sullivan@att.com>2016-04-07 10:45:08 -0700
committerBryan Sullivan <bs3131@att.com>2016-04-07 17:47:16 +0000
commit2ed0e3bc600e3184ac5d22932173653f89ef0a18 (patch)
treec6e6613ca8c1133e96ce2b91ca79da4994aac3fa
parent4fac1f877cb05f3cca0315f5ffb77bb10b8f47f2 (diff)
Solution to launch congress-server and exit the ssh session.
JIRA: COPPER-2 Change-Id: Ib71b89b5f27d367ad9322379fd1d8f427fd76d96 Signed-off-by: blsaws <bryan.sullivan@att.com> (cherry picked from commit e7afa55f355e967f51c139c290aeccdf1819364c)
-rw-r--r--components/congress/joid/install_congress_1b.sh2
-rw-r--r--components/congress/joid/install_congress_2b.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/components/congress/joid/install_congress_1b.sh b/components/congress/joid/install_congress_1b.sh
index 7fae148..3fae1a9 100644
--- a/components/congress/joid/install_congress_1b.sh
+++ b/components/congress/joid/install_congress_1b.sh
@@ -139,7 +139,7 @@ openstack endpoint create $CONGRESS_SERVICE \
--internalurl http://$CONGRESS_HOST:1789/
echo "Start the Congress service"
-ssh -x -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ubuntu@$CONGRESS_HOST "nohup ~/git/congress/bin/congress-server; exit"
+ssh -x -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ubuntu@$CONGRESS_HOST "~/git/congress/bin/congress-server &>/dev/null &"
echo "Wait 30 seconds for Congress service to startup"
sleep 30
diff --git a/components/congress/joid/install_congress_2b.sh b/components/congress/joid/install_congress_2b.sh
index 9ad7cde..8891bab 100644
--- a/components/congress/joid/install_congress_2b.sh
+++ b/components/congress/joid/install_congress_2b.sh
@@ -38,7 +38,7 @@ source ~/env.sh
echo "Update/upgrade package repos"
sudo apt-get update
-sudo apt-get upgrade -y
+#sudo apt-get upgrade -y
echo "install pip"
sudo apt-get install python-pip -y