aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcaoyuan <cao.yuan@99cloud.net>2016-10-22 17:04:13 +0800
committercaoyuan <cao.yuan@99cloud.net>2016-10-22 17:04:13 +0800
commit5bdf98f7b5c2ca9c684f1e79ec30d77961974662 (patch)
treeacdba1f96739238d457c254580ac2eeeea2bb69d
parent430ddf9dd3fb50c910631eb331a21c1af24ab43c (diff)
downloadkolla-ansible-5bdf98f7b5c2ca9c684f1e79ec30d77961974662.tar.gz
kolla-ansible-5bdf98f7b5c2ca9c684f1e79ec30d77961974662.zip
Update "=" to "==" in "if" condition
Keep consistent with other "if" condition TrivialFix Change-Id: I18fea71bd50729642543afd4d3bab0b7dfaecd3d
-rw-r--r--contrib/dev/vagrant/bootstrap.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/dev/vagrant/bootstrap.sh b/contrib/dev/vagrant/bootstrap.sh
index ec89440b8..4e79bb7c2 100644
--- a/contrib/dev/vagrant/bootstrap.sh
+++ b/contrib/dev/vagrant/bootstrap.sh
@@ -13,7 +13,7 @@ KOLLA_PATH=$3
export http_proxy=
export https_proxy=
-if [ "$MODE" = 'aio' ]; then
+if [ "$MODE" == 'aio' ]; then
# Run registry on port 4000 since it may collide with keystone when doing AIO
REGISTRY_PORT=4000
else
@@ -54,7 +54,7 @@ function is_centos {
# Install common packages and do some prepwork.
function prep_work {
- if [[ "$(systemctl is-enabled firewalld)" = "enabled" ]]; then
+ if [[ "$(systemctl is-enabled firewalld)" == "enabled" ]]; then
systemctl stop firewalld
systemctl disable firewalld
fi
@@ -219,7 +219,7 @@ EOF
prep_work
install_docker
-if [[ "$VM" = "operator" ]]; then
+if [[ "$VM" == "operator" ]]; then
configure_operator
fi