469
Comment:
|
1215
|
Deletions are marked like this. | Additions are marked like this. |
Line 4: | Line 4: |
usage: | usage of the attached scripts: |
Line 6: | Line 6: |
./telnet-loop.sh nodetable.csv nodeconfigscript | ../telnet-loop.sh nodetable.csv nodeconfigscript |
Line 12: | Line 12: |
use copy-loop.sh to copy files over to all of the nodes listed in your table. ---- /!\ '''Edit conflict - other version:''' ---- <<AttachList>> = Files = * 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 ---- /!\ '''Edit conflict - your version:''' ---- = Files = * [[attachment:copy-loop.sh]] * 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 ---- /!\ '''End of edit conflict''' ---- |
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.
Edit conflict - other version:
Files
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
Edit conflict - your version:
Files
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
End of edit conflict