1. 08 Mar, 2009 1 commit
    • liblxc: create a fedore template container · 54b1eb68
      Matt Helsley authored
      On Mon, 2009-02-09 at 15:43 -0800, Dan Smith wrote:
      > DL> It may be possible to use yum like debootstrap for an minbase
      > DL> fedora install.
      > 
      > Yep, something like the following should work:
      > 
      >   root=/path/to/tmproot
      >   mkdir -p $root/var/lib/rpm
      >   rpm --root $root --initdb
      >   rpm --root $root -Uvfh --nodeps http://fedora.osuosl.org/linux/releases/10/Fedora/i386/os/Packages/fedora-release-10-1.noarch.rpm
      >   yum --installroot=$root -y groupinstall Base
      
      Looks familiar! ;) I was intrigued by this idea last weekend so I
      started such a script. However I only tested it as far as creating a
      semi-correct rootfs. With the exception of network configs most of the
      configs are still written as for debian. For example I know the selinux
      policy enforcement settings need to move, the inittab needs to be
      replaced by the proper upstart configs, etc.
      
      Of course it's based heavily on Daniel's excellent lxc-debian script.
      Signed-off-by: 's avatarMatt Helsley <matthltc@us.ibm.com>
      Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
  2. 20 Feb, 2009 1 commit
  3. 16 Feb, 2009 7 commits
  4. 12 Feb, 2009 5 commits
  5. 09 Feb, 2009 3 commits
  6. 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>
  7. 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>
  8. 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>
  9. 28 Jan, 2009 1 commit
  10. 26 Jan, 2009 4 commits
  11. 25 Jan, 2009 4 commits
  12. 18 Jan, 2009 2 commits
  13. 08 Jan, 2009 1 commit
  14. 05 Jan, 2009 7 commits
  15. 14 Dec, 2008 1 commit