Changeset 148 for nutchez-0.2/src/test/client_install_func.sh
- Timestamp:
- Jun 3, 2010, 11:50:27 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nutchez-0.2/src/test/client_install_func.sh
r147 r148 274 274 net_address=$(ifconfig $net_interface | grep "inet addr:" | sed 's/^.*inet addr://g' | cut -d " " -f1) 275 275 #net_address=$(ifconfig eth"${net_choice}" | grep "inet addr:" | sed 's/^.*inet addr://g' | sed 's/Bcast.*$//g') 276 276 277 echo "net_address is $net_address" 277 278 echo "ssh nutchuser@$1 echo $net_address $(hostname) \>\> ~/nutch_nodes" 278 279 su nutchuser -c "ssh nutchuser@$1 echo $net_address $(hostname) \>\> ~/nutch_nodes" 280 279 281 #su nutchuser -c expect -c "spawn ssh nutchuser@$1 280 282 #set timeout 1
Note: See TracChangeset
for help on using the changeset viewer.