summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorYang (Gabriel) Yu <Gabriel.yuyang@huawei.com>2018-07-31 15:10:13 +0800
committerYu Yang (Gabriel) <Gabriel.yuyang@huawei.com>2018-07-31 07:11:43 +0000
commit6836d86ae4711d03942cccfee4674ad255a9cc50 (patch)
tree1a0f6b3a30230e0c6e4fb119ece1b7eaa2997df8 /utils
parentd5d78d499b8e0e4df8201370935996e04824a8f0 (diff)
bug-fix: error function causes script quit
Change-Id: Ib56e7e99a16d76768c2167917bb4c732cf0af13f Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com> (cherry picked from commit 09df92d801b68dc42d7b9e39e3c718988b0c01c6)
Diffstat (limited to 'utils')
-rw-r--r--utils/env_prepare/config_prepare.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/env_prepare/config_prepare.sh b/utils/env_prepare/config_prepare.sh
index b13b5a02..8de60438 100644
--- a/utils/env_prepare/config_prepare.sh
+++ b/utils/env_prepare/config_prepare.sh
@@ -155,7 +155,7 @@ if [[ ${INSTALLER_TYPE} != "" ]]; then
echo "export OS_CACERT=${OS_CACERT}" >> ${OPENRC}
cat ${OPENRC}
else
- error "Couldn't find openstack cacert file: ${OS_CACERT}, please check if the it's been properly provided."
+ info "Couldn't find openstack cacert file: ${OS_CACERT}, please check if the it's been properly provided."
fi
else
error "Couldn't find openstack rc file: ${OPENRC}, please check if the it's been properly provided."
@@ -166,6 +166,6 @@ if [[ ${INSTALLER_TYPE} != "" ]]; then
if [[ -f "/tmp/id_rsa" ]]; then
info "Path of ssh key file for openstack nodes is /tmp/id_rsa"
else
- error "Couldn't find the ssh key file for openstack nodes. If you are using user/pwd in pod.yaml, please ignore."
+ info "Couldn't find the ssh key file for openstack nodes. If you are using user/pwd in pod.yaml, please ignore."
fi
fi