Changes between Version 10 and Version 11 of NeoContainers
- Timestamp:
- Jul 13, 2015 11:04:58 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NeoContainers
v10 v11 57 57 tb-set-hardware ${pnode(0000)} MicroCloud 58 58 }}} 59 Add the bootstrap script to the {{{config}}} node, so it's execute after boot. Add the following to the {{{config}}} node stanza in the NS file: 59 Remove all existing {{{tb-set-node-startcmd}}} lines as these start the old containers system. 60 Add the bootstrap script to the {{{config}}} node's start-cmd, so it executes after boot. Add the following to the {{{config}}} node stanza in the NS file: 60 61 {{{ 61 62 tb-set-node-startcmd $config "~/src/containers/bin/container_bootstrap.sh" 62 63 }}} 63 64 (Of course have it match the path to your copy of the containers repository.) See the experiment Deter/swtest3 for a working example. 64 5. Swap in the experiment and wait a long time. There is no great way to tell when the containers are up, unfortunately. 65 65 5. Swap in the experiment and wait a long time. There is no great way to tell when the containers are up, unfortunately. Tail the start-cmd output on the {{{config}}} node and look for the "complete" message. 66 {{{ 67 users: > ssh config.GID.PID 68 config: > tail -F /local/logs/config_startcmd.out 69 }}} 66 70 67 71 === Execution Flow ===