Skip to content
Snippets Groups Projects
Commit 5bdf98f7 authored by caoyuan's avatar caoyuan
Browse files

Update "=" to "==" in "if" condition

Keep consistent with other "if" condition
TrivialFix

Change-Id: I18fea71bd50729642543afd4d3bab0b7dfaecd3d
parent 430ddf9d
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ KOLLA_PATH=$3 ...@@ -13,7 +13,7 @@ KOLLA_PATH=$3
export http_proxy= export http_proxy=
export https_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 # Run registry on port 4000 since it may collide with keystone when doing AIO
REGISTRY_PORT=4000 REGISTRY_PORT=4000
else else
...@@ -54,7 +54,7 @@ function is_centos { ...@@ -54,7 +54,7 @@ function is_centos {
# Install common packages and do some prepwork. # Install common packages and do some prepwork.
function prep_work { function prep_work {
if [[ "$(systemctl is-enabled firewalld)" = "enabled" ]]; then if [[ "$(systemctl is-enabled firewalld)" == "enabled" ]]; then
systemctl stop firewalld systemctl stop firewalld
systemctl disable firewalld systemctl disable firewalld
fi fi
...@@ -219,7 +219,7 @@ EOF ...@@ -219,7 +219,7 @@ EOF
prep_work prep_work
install_docker install_docker
if [[ "$VM" = "operator" ]]; then if [[ "$VM" == "operator" ]]; then
configure_operator configure_operator
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment