On Sun, Nov 15, 2009 at 10:19:17AM -0100, dzenan.causevic@wise-t.com wrote: > > On Sat, Nov 14, 2009 at 09:13:35AM -0800, Roderick A. Anderson wrote: > >> Herbert Poetzl wrote: > >> >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') > >> On my CentOS 5.3 (Final) based host using Daniel's repo I have > >> ... > >> Kernel: 2.6.22.19-vs2.3.0.34.1 > >> VS-API: 0x00020302 > >> util-vserver: 0.30.216-pre2793; Oct 11 2008, 15:49:24 > >> ... > >> And there is nothing in the Fedora beyond f9. > > on my Mandriva 2009.1, I have: > > > > Kernel: 2.6.29.2-vs2.3.0.36.12 > > VS-API: 0x00020304 > > util-vserver: 0.30.216-pre2848; Sep 14 2009, 18:50:28 > > #ls /usr/lib64/util-vserver/distributions > > alpine/ centos4/ centos5/ debian/ defaults/ > > etch@ f10/ f11/ f7/ f8/ f9/ fc1/ fc2/ fc3/ > > fc4/ fc5/ fc6/ gentoo/ lenny@ redhat/ rh9/ > > sid@ squeeze@ suse91/ template/ > > so your point is? > I believe his point is regardless of util-vserver version, if you > dont have corresponding directory for fc10 (or any other) in your > /usr/lib/util-vserver/distributions you wont' be able to build such a > guest. correct ... > All three of us use pretty much the same util-vserver version, the > only difference is util-vserver for CentOS included only distributions > up to f9 while Mandriva had f10 and f11 on the top of that. and _my_ point is (although I tried to say it nicely :) get a recent util-vserver snapshot, and you'll get the proper distribution files for f10 and f11 too! don't complain that an older version doesn't have them! > Could we just copy f10/ and f11/ directories from your Mandriva to > our CentOS, would it work? it might work, but my 'Mandriva' simply uses the snapshots provided by Daniel (i.e. compiled from the source) so once again: getting a recent snapshot will provide that. best, Herbert > > best, > > Herbert > > > >> \\||/ > >> Rod > >> -- > >> > > >> >>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 ... > >> > > >> >>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 > > >