Re: [vserver] context option

From: <dzenan.causevic_at_wise-t.com>
Date: Sat 14 Nov 2009 - 19:19:12 GMT
Message-ID: <0818d8c558f86540fd464ef1dc1185c0.squirrel@wise-t.net>

> On Fri, Nov 13, 2009 at 03:23:45PM -0100, dzenan.causevic@wise-t.com
> wrote:
>> What is the latest Fedora Core distribution I can build for
>> the guest using yum method?
>
>> vserver build -m yum --context 42 --interface xxx.xxx.xxx.xxx
>> -- -d f10 returns cannot find distribution error message?
>
> you sure your util-vserver is recent enough?
> (i.e. check with 'vserver-info - SYSINFO')

util-vserver: 0.30.216-pre2793; Oct 11 2008, 15:49:24

Now I see directory /usr/lib/util-vserver/distributions/ with whole bunch
of distributions inside, and I don't see one for Fedora Core 10. It
appears that only those present are available to me, so my next question
would be is there a way to add distributions to this directory manually?

>
>> Can I build fedora core 10 using other methods except for yum
>> (like debootstrap) or template?
>
> sure, but I doubt anybody has created a
> debootstrap archive for f10 (yet), rpm and
> template, as well as rsync or clone should
> work fine ...

How would I build fc10 guest using rpm or template?
Is it 'vserver build -m rpm --interface xxx.xxx.xxx.xxx -- -d f10'?

>
>> Also does --context option specifies minimum number of packages
>> and what does 42 stand for in this case?
>
> nope, the context is the unique identifier
> for a guest, i.e. a number between 2 and
> 49151 (or 65535) which uniquely identifies
> the guest for all kernel related actions
>
>> I left out this option building centos5 system (same as above
>> but it worked fine unlike fc10) but I had no outside internet
>> connection.
>
> you can omit that option, in which case
> util-vserver will choose a host local unique
> number for you
>
>> I could only connect to local network machines, and I coudn't
>> find /etc/resolv.conf file either?
>
> again, sure your util-vserver is recent enough?
>
>> Does leaving out --context 42 option has to do anything with this?
>
> very unlikely, see above ...
>
>> Anyone?
>
> best,
> Herbert
>
>> Dzenan
>
Received on Sat Nov 14 17:19:27 2009

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 14 Nov 2009 - 17:19:32 GMT by hypermail 2.1.8