Changes between Version 10 and Version 11 of NeoContainers


Ignore:
Timestamp:
Jul 13, 2015 11:04:58 AM (9 years ago)
Author:
Geoff Lawler
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NeoContainers

    v10 v11  
    5757    tb-set-hardware ${pnode(0000)} MicroCloud
    5858}}}
    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:
     59Remove all existing {{{tb-set-node-startcmd}}} lines as these start the old containers system.
     60Add 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:
    6061{{{
    6162tb-set-node-startcmd $config "~/src/containers/bin/container_bootstrap.sh"
    6263}}}
    6364(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 
     655. 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{{{
     67users: > ssh config.GID.PID
     68config: > tail -F /local/logs/config_startcmd.out
     69}}}
    6670
    6771=== Execution Flow ===