[lxc-users] post start hook

Meno Abels meno.abels at adviser.com
Sun Jan 24 20:39:21 UTC 2016


Hello,

i have this problem:

https://lists.linuxcontainers.org/pipermail/lxc-users/2011-November/002916.html

which is related to wlan0 interfaces which should assign
directly to a lxc container.

Which worked for me is to call
  iw phy0 set ns <pid of init>
after the container is started.
If I want to automate how i could do it?
Is there any hook which I can implement the iw command in the host after
the init of the container is started. Keep in might, that the pid of the
init of the just started container to issue the iw command.
I found several hooks but no which is called after the init is started in
the host.

Thx in advance

meno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160124/db79f58c/attachment.html>


More information about the lxc-users mailing list