Changeset 167 for nutchez-0.2/src/test/client_install
- Timestamp:
- Jun 8, 2010, 5:05:25 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nutchez-0.2/src/test/client_install
r152 r167 14 14 # 需要 master_install 設定的參數區 15 15 # Master IP here 16 Master_IP_Address= "a.a.a.a";16 Master_IP_Address=192.168.56.101 17 17 # Master Hostname here 18 Master_Hostname= "Master_Hostname";18 Master_Hostname=shunfa-VBox1 19 19 # 此檔自己用的參數區 20 20 Linux_Distribution=""; … … 24 24 # 參數詢問 25 25 yesno="no" 26 echo -e "\n\033[31mYour master IP: $Master_IP_Address\033[0m"26 show_info "Your master IP: $Master_IP_Address" 27 27 read -p "Is this data cooect? (yes/no): " yesno 28 28 29 29 if [ "$yesno" == "yes" ] || [ "$yesno" == "y" ] ; then 30 echo "These parameters are correct."30 show_info "These parameters are correct." 31 31 else 32 echo "Plzedit these parameters in this file."32 show_info "Please edit these parameters in this file." 33 33 exit 34 34 fi
Note: See TracChangeset
for help on using the changeset viewer.