793
Comment:
|
644
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
= What is the NodeConfig script? = |
|
Line 15: | Line 17: |
Line 18: | Line 19: |
* http://battlemesh.org/BattleMeshV3/NodeConfigScript?action=AttachFile&do=get&target=copy-loop.sh * http://battlemesh.org/BattleMeshV3/NodeConfigScript?action=AttachFile&do=get&target=nodetable.csv |
<<AttachList>> |
What is the NodeConfig script?
NodeConfig script we can use to change configuration of any number of nodes.
usage of the attached scripts:
- ./telnet-loop.sh nodetable.csv nodeconfigscript
will connect to all nodes (one-by-one), listed in the nodetable.csv (mac-addresses, etc.) execute the nodeconfigscript _on the node. It is using the telnet daemon running on the nodes to connect.
the variant ssh-loop.sh uses ssh to connect to the nodes -- use ssh keys to connect without having to enter passwords...
use copy-loop.sh to copy files over to all of the nodes listed in your table.
Files