Skip to content

Commit 9e0c46a

Browse files
Wang,Jinglittleya
authored andcommitted
<fix>[installation]:fix ZStack upgrade by ZOps
inspection function will be hiden if Upgrade by ZOps. fix this condition. Resolves: ZOPS-1751 Change-Id: I78796473776e747a627a6a687366707a616c6b6f
1 parent eeab8b4 commit 9e0c46a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

installation/install.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2391,12 +2391,13 @@ install_sds(){
23912391
install_zops(){
23922392
[[ x"$BASEARCH" != x"x86_64" ]] && return
23932393
[[ x"$OS" != x"CENTOS7" && x"$OS" != x"HELIX7" ]] && return
2394+
mkdir -p /usr/local/zops
2395+
chmod o+r /usr/local/zops
2396+
echo "true" > /usr/local/zops/cloud_integration
23942397
[[ x"$SKIP_ZOPS_INSTALL" = x"y" ]] && return
23952398
echo_title "Install or upgrade ZOps"
23962399
echo ""
23972400
trap 'traplogger $LINENO "$BASH_COMMAND" $?' DEBUG
2398-
mkdir -p /root/.zops
2399-
echo "true" > /root/.zops/cloud_integration
24002401
if [ -f "/sbin/zops" ]; then
24012402
show_spinner is_upgrade_zops
24022403
else

0 commit comments

Comments
 (0)