Changes

Jump to navigation Jump to search
40 bytes added ,  14:44, 9 October 2012
→‎Action scripts: remove link from header; fix typo in --action-script; use italics for option argument; add missing comma
Line 29: Line 29:  
When you restore a net namespace with a veth device end in it, crtools will create the other end of the pair in the net namespace you launch crtools from. By default it's name will be the one generated by veth kernel driver. Not to scan through all the net devices trying to fine one you can use the <code>--veth-pair <ns-dev>:<host-dev></code> option. When used a device named <code><ns-dev></code> in a newly restored namespace will be linked with the <code><host-dev></code> one in the crtools namespace.
 
When you restore a net namespace with a veth device end in it, crtools will create the other end of the pair in the net namespace you launch crtools from. By default it's name will be the one generated by veth kernel driver. Not to scan through all the net devices trying to fine one you can use the <code>--veth-pair <ns-dev>:<host-dev></code> option. When used a device named <code><ns-dev></code> in a newly restored namespace will be linked with the <code><host-dev></code> one in the crtools namespace.
   −
== [[Action scripts]] ==
+
== Action scripts ==
   −
The '''crtools''' can call your hooks on various stages of dumping/restoring. These hooks are added with the <code>--action-sctipt <shell-code-to-execute></code> option. When called the <code>CRTOOLS_SCRIPT_ACTION</code> environment is set to a value determining which type of action is performed.
+
The '''crtools''' can call your hooks on various stages of dumping/restoring. These hooks are added with the <code>--action-script ''shell-code-to-execute''</code> option. When called, the <code>CRTOOLS_SCRIPT_ACTION</code> environment is set to a value determining which type of action is performed. See [[Action scripts]] for more details.

Navigation menu