Changeset 10269 in genesis


Ignore:
Timestamp:
Mar 22, 2012, 11:02:41 AM (13 years ago)
Author:
rick
Message:

Use the API to get the list of available hosts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/batch-cmd

    r9956 r10269  
    66#
    77
    8 HOSTS=${*:-`cd $(dirname $0)/../nodes; echo CNode* proxy*`}
     8HOSTS=${*:-`$(dirname $0)/gformat.py list all`}
    99PREFIX=${PREFIX:-'ip'}
    1010CMD=${CMD:-'ifconfig -a'}
    1111
    12 echo "# WARN: Going to run at $HOSTS"; sleep 2
     12echo "# WARN: Going to run at: " $HOSTS; sleep 2
    1313
    1414for HOST in $HOSTS; do
Note: See TracChangeset for help on using the changeset viewer.