b0VIM 9.0      ʚi2 _ root                                    k3smaster05                             /data/masterinstall/masterinstall.sh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               3210    #"! U                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 tp           T                     O       U              Y                     Y                     e       V                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ad  &        T         }  n  d  Y  W  %      <            t  R  *          8            h  @    
  
  b
  (
  	  	  	  	  /	  	  	        Q  %        m  =                      i  8        d  ,        g  9                                                                   if [[ ${ls_line} == "lighttpdport" ]];then      ls_line=${ls_templine%=*}   do   for ls_templine in ${ls_originalline}    ls_originalline=`awk  -v var1=$ls_temp 'BEGIN {a=0}$0!~/^[[:blank:]]+$|^$/{if (a==1) if (!match($0,/\[/)) {print $0} else {exit} else if ($0==var1) {a=1}}' $1`   ls_temp="[lighttpd]"   done      fi         ls_prometheussetup=${ls_templine#*=}      elif [[ ${ls_line} == "prometheussetup" ]];then         ls_nodeexporterport=${ls_templine#*=}      elif [[ ${ls_line} == "nodeexporterport" ]];then         ls_prometheusport=${ls_templine#*=}      elif [[ ${ls_line} == "prometheusport" ]];then         ls_prometheuhostname=${ls_templine#*=}      elif [[ ${ls_line} == "prometheushostname" ]];then         ls_prometheusnodename=${ls_templine#*=}      elif [[ ${ls_line} == "prometheusnodename" ]];then         ls_prometheuslabelvalue=${ls_templine#*=}      elif [[ ${ls_line} == "prometheuslabelvalue" ]];then         ls_prometheuslabelname=${ls_templine#*=}      if [[ ${ls_line} == "prometheuslabelname" ]];then      ls_line=${ls_templine%=*}   do   for ls_templine in ${ls_originalline}    ls_originalline=`awk  -v var1=$ls_temp 'BEGIN {a=0}$0!~/^[[:blank:]]+$|^$/{if (a==1) if (!match($0,/\[/)) {print $0} else {exit} else if ($0==var1) {a=1}}' $1`    ls_temp="[prometheus]"   done      fi         ls_harborpasswd=${ls_templine#*=}      elif [[ ${ls_line} == "harborpasswd" ]];then         ls_haroboruser=${ls_templine#*=}      elif [[ ${ls_line} == "harboruser" ]];then         ls_harborport=${ls_templine#*=}      elif [[ ${ls_line} == "harborport" ]];then         ls_harbornodename=${ls_templine#*=}      elif [[ ${ls_line} == "harbornodename" ]];then         ls_harborhostname=${ls_templine#*=}      elif [[ ${ls_line} == "harborhostname" ]];then         ls_harborregistry=${ls_templine#*=}      if [[ ${ls_line} == "harborregistry" ]];then      ls_line=${ls_templine%=*}   do   for ls_templine in ${ls_originalline}    ls_originalline=`awk  -v var1=$ls_temp 'BEGIN {a=0}$0!~/^[[:blank:]]+$|^$/{if (a==1) if (!match($0,/\[/)) {print $0} else {exit} else if ($0==var1) {a=1}}' $1`   ls_temp="[harbor]"   done      fi         ls_sharestoragecapacity=${ls_templine#*=}      elif [[ ${ls_line} == "sharestoragecapacity" ]];then         ls_sharestoragelabelvalue=${ls_templine#*=}      elif [[ ${ls_line} == "sharestoragelabelvalue" ]];then         ls_sharestoragelabelname=${ls_templine#*=}      elif [[ ${ls_line} == "sharestoragelabelname" ]];then         ls_exportsips=${ls_templine#*=}      elif [[ ${ls_line} == "exportsips" ]];then         ls_sharepath=${ls_templine#*=}      if [[ ${ls_line} == "sharepath" ]];then      ls_line=${ls_templine%=*}   do   for ls_templine in ${ls_originalline}   ls_originalline=`awk  -v var1=$ls_temp 'BEGIN {a=0}$0!~/^[[:blank:]]+$|^$/{if (a==1) if (!match($0,/\[/)) {print $0} else {exit} else if ($0==var1) {a=1}}' $1`   ls_temp="[sharestorage]"   done      fi         ls_masterip=${ls_templine#*=}      elif [[ ${ls_line} == "ip" ]];then         ls_arch=${ls_templine#*=}      elif [[ ${ls_line} == "arch" ]];then         ls_hostname=${ls_templine#*=}      if [[ ${ls_line} == "hostname" ]];then      ls_line=${ls_templine%=*}   do   for ls_templine in ${ls_originalline}   ls_originalline=`awk  -v var1=$ls_temp 'BEGIN {a=0}$0!~/^[[:blank:]]+$|^$/{if (a==1) if (!match($0,/\[/)) {print $0} else {exit} else if ($0==var1) {a=1}}' $1`   ls_temp="[host]"   ################## motherboard ##################   writetolog "info:getparam read setupfile $1..." { getparam() IFS=$'\n' IFS_OLD=${IFS} ######################################################## made by yqqyjy ############################################## #!/bin/bash 