Changeset 132 for nutchez-0.2/src/test/client_install
- Timestamp:
- May 28, 2010, 10:08:30 AM (15 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
nutchez-0.2/src/test/client_install
r130 r132 12 12 . ./client_install_func.sh 13 13 14 # 需要 master_install 設定的參數區14 # 需要 master_install 設定的參數區 15 15 Master_IP_Address="a.a.a.a"; 16 16 … … 21 21 22 22 # 參數詢問 23 yesno="no" 23 yesno="no" 24 24 echo -e "\nYour master IP: $Master_IP_Address" 25 25 echo -e "Your Nutchuser Password: $Nutchuser_Passwd" 26 26 read -p "These data are cooect? (yes/no): " yesno 27 27 28 if [ "$yesno" == " no" ];then29 echo " Plz edit these parameters of this file."30 exit 31 e lse32 # echo "yes" 28 if [ "$yesno" == "yes" ] || [ "$yesno" == "y" ] ; then 29 echo "These parameters are correct." 30 else 31 echo "Plz edit these parameters in this file." 32 exit 33 33 fi 34 34 … … 44 44 # 查出此主機的作業系統,以及版本 45 45 check_systemInfo 46 read 47 48 # 安裝需要的套件 (目前只支援 deb 套件的系統自動安裝,yum或其他套件系統的則必須手動安裝) 49 # 需要套件名稱 ssh, expect, dialog 50 install_packages 46 51 read 47 52
Note: See TracChangeset
for help on using the changeset viewer.