| 68 | |
| 69 | |
| 70 | Finally, the complete available option/commands for ''imageNodes'' are: |
| 71 | |
| 72 | {{{ |
| 73 | imageNodes --help |
| 74 | |
| 75 | Install a given disk image on the nodes in a testbed |
| 76 | Usage: |
| 77 | ImageNodes [-h] |
| 78 | ImageNodes [TOPOLOGY] [IMAGE_PATH] [TIMEOUT] [DOMAIN] |
| 79 | |
| 80 | With: |
| 81 | -h, --help print this help message |
| 82 | |
| 83 | TOPOLOGY a valid topology description or file without the trailing '.rb' |
| 84 | (default is 'all', the entire set of nodes on the default testbed) |
| 85 | |
| 86 | IMAGE_PATH a valid path to a disk image on the image repository |
| 87 | (default is 'baseline.ndz', the latest stable baseline image) |
| 88 | |
| 89 | TIMEOUT a duration (in sec.) after which imageNodes should stop waiting for |
| 90 | nodes that have not finished their image installation |
| 91 | (default is 800 sec, i.e. 13min 20sec) |
| 92 | |
| 93 | DOMAIN the testbed domain for the nodes to image |
| 94 | (default is the testbed of the console where this command is running) |
| 95 | |
| 96 | Some Examples: |
| 97 | imageNodes |
| 98 | imageNodes all |
| 99 | imageNodes all baseline-2.4.ndz |
| 100 | imageNodes [1,1] wireless-2.6.ndz |
| 101 | imageNodes [[1,2],[1,4]] baseline.ndz 400 |
| 102 | imageNodes [[1,1],[2..6,1..2]] |
| 103 | imageNodes system:topo:circle my_Own_Image.ndz |
| 104 | imageNodes my_Own_Topology baseline-2.2.ndz 600 grid |
| 105 | }}} |