Changeset 148 for nutchez-0.2/src


Ignore:
Timestamp:
Jun 3, 2010, 11:50:27 AM (14 years ago)
Author:
rock
Message:

增加 debug 用的echo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nutchez-0.2/src/test/client_install_func.sh

    r147 r148  
    274274net_address=$(ifconfig $net_interface | grep "inet addr:" | sed 's/^.*inet addr://g' | cut -d " " -f1)
    275275#net_address=$(ifconfig eth"${net_choice}" | grep "inet addr:" | sed 's/^.*inet addr://g' | sed 's/Bcast.*$//g')
     276
    276277echo "net_address is $net_address"
    277 
     278echo "ssh nutchuser@$1 echo $net_address $(hostname) \>\> ~/nutch_nodes"
    278279su nutchuser -c "ssh nutchuser@$1 echo $net_address $(hostname) \>\> ~/nutch_nodes"
     280
    279281#su nutchuser -c expect -c "spawn ssh nutchuser@$1
    280282#set timeout 1
Note: See TracChangeset for help on using the changeset viewer.