1. 05 Oct, 2017 3 commits
  2. 03 Oct, 2017 4 commits
  3. 02 Oct, 2017 5 commits
  4. 01 Oct, 2017 1 commit
  5. 30 Sep, 2017 1 commit
    • add a start-host hook (v2) · 08dd2805
      Serge Hallyn authored
      This should satisfy several use cases.  The one I tested for was CNI.
      I replaced the network configuration in a root owned container with:
      
      lxc.net.0.type = empty
      lxc.hook.start-host = /bin/lxc-start-netns
      
      where /bin/lxc-start-netns contained:
      
      =================================
      
      echo "starting" > /tmp/debug
      ip link add host1 type veth peer name peer1
      ip link set host1 master lxcbr0
      ip link set host1 up
      ip link set peer1 netns "${LXC_PID}"
      =================================
      
      The nic 'peer1' was placed into the container as expected.
      
      For this to work, we pass the container init's pid as LXC_PID in
      an environment variable, since lxc-info cannot work at that point.
      Signed-off-by: 's avatarSerge Hallyn <shallyn@cisco.com>
  6. 29 Sep, 2017 2 commits
  7. 28 Sep, 2017 2 commits
  8. 27 Sep, 2017 2 commits
  9. 25 Sep, 2017 2 commits
  10. 24 Sep, 2017 1 commit
  11. 23 Sep, 2017 1 commit
  12. 20 Sep, 2017 4 commits
  13. 19 Sep, 2017 5 commits
  14. 18 Sep, 2017 7 commits