Changes

Jump to navigation Jump to search
197 bytes added ,  14:06, 18 September 2012
no edit summary
Line 24: Line 24:     
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]] ==
 +
 +
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.

Navigation menu