1. 24 Mar, 2009 1 commit
  2. 22 Mar, 2009 2 commits
    • set mtu for netdev · 75d09f83
      Daniel Lezcano authored
      When setting the mtu size at the veth creation, the mtu is only set
      on one side of the veth tunnel, the one attached to the bridge.
      
      I changed a little the code and added the device_set_mtu function so
      it is called after the veth has been created on both side.
      
      That moves the mtu veth specific code inside the veth function creation.
      
      Hopefully this code could be reused later for different future network
      configuration (eg. ip tunnel).
      
      The mtu option will be simply ignored in case of macvlan network configuration
      because the macvlan network device inherit the mtu of the physical link.
      Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
    • Add lxc.network.mtu configuration (resend) · 442cbbe6
      Takano Ryousei authored
      Hi Daniel,
      
      I resent my patch. I hope to fix folding failure.
      
      This patch allows users to specify the MTU size of the veth interface.
       It helps to use jumbo frames on the container.
      
      Changes from v1:
      	- Fix failing if the 'mtu' is not specified.
      	- Delete the 'mtu' entry at time of lxc-destroy.
      Signed-off-by: 's avatarRyousei Takano <takano-ryousei@aist.go.jp>
      Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
  3. 20 Mar, 2009 2 commits
  4. 19 Mar, 2009 5 commits
  5. 16 Mar, 2009 1 commit
  6. 11 Mar, 2009 1 commit
  7. 10 Mar, 2009 1 commit
  8. 09 Mar, 2009 2 commits
  9. 08 Mar, 2009 6 commits
  10. 20 Feb, 2009 1 commit
  11. 16 Feb, 2009 7 commits
  12. 12 Feb, 2009 5 commits
  13. 09 Feb, 2009 3 commits
  14. 05 Feb, 2009 1 commit
    • handle interruption/failure of lxc-debian more gracefully · 85248107
      dlezcano authored
      From: Matt Helsley <matthltc@us.ibm.com>
      
      If lxc-debian fails or is interrupted during debootstrap then the next
      invocation of lxc-debian breaks because it only checks for the existence
      of the directory. This forces the user to remove the cache by hand to
      retry the create step.
      
      Let's allow the user to re-run lxc-debian to resume/retry. Store the
      cache in a partial-$ARCH directory until debootstrap succeeds. Then move
      the valid cache to its final destination.
      Signed-off-by: 's avatarMatt Helsley <matthltc@us.ibm.com>
      Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
  15. 02 Feb, 2009 1 commit
    • Add signalfd function definition · ff218c25
      dlezcano authored
      From: Dietmar Maurer <dietmar@proxmox.com>
      
      The signalfd function prototype and the signalfd header file is not
      defined in the debian Lenny. We want to use this debian version with a
      newer kernel.
      
      This patch gives the signalfd function prototype, because the function is
      available in the glibc-2.7 which is the version coming with debian Lenny.
      Signed-off-by: 's avatarDietmar Maurer <dietmar@proxmox.com>
      Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
  16. 29 Jan, 2009 1 commit
    • Complete use of autoconf prefix in lxc-debian · dc21287c
      dlezcano authored
      From: Matt Helsley <matthltc@us.ibm.com>
      
      The lxc-debian script does not consistently address the lxc lock as
      @LOCALSTATEDIR@/lock/subsys/lxc. Make consistent use of the autotools
      substitution to completely enable configure --prefixes.
      
      I also added a comment explaining why some of the paths didn't need
      autoconf substitutions for anyone who wants to understand the script.
      Also, to separate it from the container contents proper, I moved the
      CACHE variable initialization above the container-internal path
      variables.
      Signed-off-by: 's avatarMatt Helsley <matthltc@us.ibm.com>
      Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>