[PATCH] liblxc: add scripts/lxc-fedora.in (WAS: Re: [PATCH] liblxc: Update lxc-debian to use the lenny release)

Daniel Lezcano daniel.lezcano at free.fr
Sun Mar 8 09:34:02 PDT 2009

Matt Helsley wrote:
> 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 at us.ibm.com>

More information about the Containers mailing list