mirror_lxc/scripts
Matt Helsley 54b1eb6860 liblxc: create a fedore template container
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: Matt Helsley <matthltc@us.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
2009-03-08 17:09:27 +01:00
..
.cvsignore Add more to cvsignore 2008-12-13 12:32:11 +00:00
lxc-debian.in Add the pts configuration for lxc-debian 2009-02-20 14:13:37 +00:00
lxc-fedora.in liblxc: create a fedore template container 2009-03-08 17:09:27 +01:00
lxc-sshd.in Expand the configure directory 2008-12-01 11:50:43 +00:00
Makefile.am liblxc: create a fedore template container 2009-03-08 17:09:27 +01:00