Linux Container Development
 help / color / mirror / Atom feed
From: Daniel Lezcano <daniel.lezcano-GANU6spQydw@public.gmane.org>
To: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: Containers
	<containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org>
Subject: Re: [PATCH] liblxc: Update lxc-debian to use the lenny release
Date: Mon, 09 Feb 2009 22:45:52 +0100	[thread overview]
Message-ID: <4990A410.3040701@free.fr> (raw)
In-Reply-To: <1234213118.29561.17.camel@localhost>

Matt Helsley wrote:
> 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-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
>>> ---
>>>  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.
>   
It looks like the minbase does not have the network manager (I didn't 
checked if it is available for "lenny").
So I just made a quick fix adding the ifupdown scripts in order to have 
the debian booting with the network up.
Using the network manager is an interesting solution, but in the short 
term I think the lxc-debian script should be improved to provide a 
simple TUI configuration menu so we can make more complex configurations.
> 	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
>   
Yeah, it is a great tool. I am experiencing to do the same with a 
fedora. It may be possible to use yum like debootstrap for an minbase 
fedora install.

> 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?
>   
Mmh, no. I just recreated several times a debian, logged via ssh and I 
didn't fall in this problem.
What problem did you faced ?

  reply	other threads:[~2009-02-09 21:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-05  9:22 [PATCH] liblxc: handle interruption/failure of lxc-debian more gracefully Matt Helsley
2009-02-05  9:32 ` [PATCH] liblxc: Update lxc-debian to use the lenny release Matt Helsley
2009-02-09 17:14   ` Daniel Lezcano
     [not found]     ` <49906491.8050200-GANU6spQydw@public.gmane.org>
2009-02-09 20:58       ` Matt Helsley
2009-02-09 21:45         ` Daniel Lezcano [this message]
     [not found]           ` <4990A410.3040701-GANU6spQydw@public.gmane.org>
2009-02-09 23:43             ` Dan Smith
     [not found]               ` <87d4dr41o0.fsf-FLMGYpZoEPULwtHQx/6qkW3U47Q5hpJU@public.gmane.org>
2009-02-10  8:28                 ` [PATCH] liblxc: add scripts/lxc-fedora.in (WAS: Re: [PATCH] liblxc: Update lxc-debian to use the lenny release) Matt Helsley
2009-03-08 16:34                   ` Daniel Lezcano
2009-02-05 12:05 ` [PATCH] liblxc: handle interruption/failure of lxc-debian more gracefully Daniel Lezcano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4990A410.3040701@free.fr \
    --to=daniel.lezcano-ganu6spqydw@public.gmane.org \
    --cc=containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
    --cc=matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox