[Devel] Re: [PATCH] liblxc: Update lxc-debian to use the lenny release
Matt Helsley
matthltc at us.ibm.com
Mon Feb 9 12:58:38 PST 2009
On Mon, 2009-02-09 at 18:14 +0100, Daniel Lezcano wrote:
> Matt Helsley wrote:
> > With the release of lenny nearing this patch may soon be useful.
> >
> > Signed-off-by: Matt Helsley <matthltc at us.ibm.com>
> > ---
> > scripts/lxc-debian.in | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > Index: lxc/scripts/lxc-debian.in
> > ===================================================================
> > --- lxc.orig/scripts/lxc-debian.in
> > +++ lxc/scripts/lxc-debian.in
> > @@ -222,8 +222,8 @@ create() {
> > # download a mini debian into a cache
> > echo "Downloading debian minimal ..."
> > debootstrap --verbose --variant=minbase --arch=$ARCH \
> > - --include apache,netbase,net-tools,iproute,openssh-server \
> > - etch $CACHE/partial-$ARCH http://ftp.debian.org/debian
> > + --include apache2,netbase,net-tools,iproute,openssh-server \
> > + lenny $CACHE/partial-$ARCH http://ftp.debian.org/debian
> >
> > RESULT=$?
> > if [ "$RESULT" != "0" ]; then
> >
> Applied, thanks Matt.
>
> ps : I added the ifupdown missing package because ifup/ifdown are no
> longer in the initscripts package.
Hasn't debian switched to Network Manager too? Seems like there should
be a way to interact with it via scripts without forcing the use of
ifup/ifdown.
I was somewhat suprised to find debootstrap is incredibly easy to
install by hand on non-debian systems. Even better, there's a package in
fedora. So I've been playing with lxc-debian on fedora 9 and 10. However
I've had problems "Configuring" the opennssh-server package. Removing
that package allows lxc-debian to create the rootfs. I haven't found an
underlying reason yet :/ -- have you run into this problem?
Cheers,
-Matt
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list