Revert "fix compasss.sh"

This reverts commit 1063feea24. 
The reason for this revert is that this commit was mistakenly submitted to the master branch. Should be the dev/remote-deploy branch.

Change-Id: Ic058f3bc62076152cdf7660d02b10c327e3e5c4f
This commit is contained in:
Xicheng Chang 2016-12-30 09:21:53 +00:00
parent 1063feea24
commit 2fb331e375

View File

@ -134,7 +134,7 @@ if [ "$FULL_COMPASS_SERVER" == "true" ]; then
sudo mv /etc/compass/celeryconfig_local /etc/compass/celeryconfig sudo mv /etc/compass/celeryconfig_local /etc/compass/celeryconfig
elif [ "$COMPASS_API_SERVER" != "c.stack360.io" ];then elif [ "$COMPASS_API_SERVER" != "c.stack360.io" ];then
sudo mv /etc/compass/celeryconfig_local /etc/compass/celeryconfig sudo mv /etc/compass/celeryconfig_local /etc/compass/celeryconfig
sudo sed -i "s/localhost/$COMPASS_API_SERVER/g" /etc/compass/celeryconfig sudo sed -i "s/localhost/\$COMPASS_API_SERVER/g" /etc/compass/celeryconfig
else else
sudo mv /etc/compass/celeryconfig_remote /etc/compass/celeryconfig sudo mv /etc/compass/celeryconfig_remote /etc/compass/celeryconfig
wget -O /tmp/aws_credentials "http://www.stack360.io/aws_credentials" wget -O /tmp/aws_credentials "http://www.stack360.io/aws_credentials"