Re: [Lxc-users] lxc-centos on Ubuntu 12.04

2013-02-08 Thread Fajar A. Nugraha
On Sat, Feb 9, 2013 at 4:27 AM, Kim C. Callis wrote: > I did get this error when attempting to build the centos container: > > rpmdb: /var/lib/rpm/Name: unexpected file type or format > error: cannot open Name index using db3 - Invalid argument (22) > Download complete. > Copy /var/cache/lxc/cent

Re: [Lxc-users] lxc-centos on Ubuntu 12.04

2013-02-08 Thread Kim C. Callis
I did get this error when attempting to build the centos container: rpmdb: /var/lib/rpm/Name: unexpected file type or format error: cannot open Name index using db3 - Invalid argument (22) Download complete. Copy /var/cache/lxc/centos/x86_64/6/rootfs to /var/lib/lxc/test/rootfs ... Copying rootfs

Re: [Lxc-users] lxc-centos on Ubuntu 12.04

2013-02-08 Thread Kim C. Callis
That was the missing ingredient... Thanks, now I will see how creative I am get... On Fri, Feb 8, 2013 at 8:26 AM, Serge Hallyn wrote: > Quoting Kim C. Callis (kim.cal...@gmail.com): > > Ok, I am good and lost... I thought it would be as simple as adding your > > script to /usr/share/lxc/template

Re: [Lxc-users] lxc-centos on Ubuntu 12.04

2013-02-08 Thread Kim C. Callis
;-Original message- >From: Kim C. CallisĀ  >Sent: Fri 08-Feb-2013 14:16 >To: lxc-users@lists.sourceforge.net >Subject: [Lxc-users] lxc-centos on Ubuntu 12.04 > > >Ok, I am good and lost... I thought it would be as simple as adding >your script to /usr/share/lxc/templ

Re: [Lxc-users] lxc-centos on Ubuntu 12.04

2013-02-08 Thread Serge Hallyn
Quoting Kim C. Callis (kim.cal...@gmail.com): > Ok, I am good and lost... I thought it would be as simple as adding your > script to /usr/share/lxc/templates and then doing: > > *$ sudo lxc-create -n centosbox -t centos -- - user* > * > * > No config file specified, using the default config > /usr

Re: [Lxc-users] lxc-centos on Ubuntu 12.04

2013-02-08 Thread Roland Neary
[Lxc-users] lxc-centos on Ubuntu 12.04 Ok, I am good and lost... I thought it would be as simple as adding your script to /usr/share/lxc/templates and then doing: $ sudo lxc-create -n centosbox -t centos -- - user No config file specified, using the default config /usr/bin/lxc-create: line 297:

[Lxc-users] lxc-centos on Ubuntu 12.04

2013-02-08 Thread Kim C. Callis
Ok, I am good and lost... I thought it would be as simple as adding your script to /usr/share/lxc/templates and then doing: *$ sudo lxc-create -n centosbox -t centos -- - user* * * No config file specified, using the default config /usr/bin/lxc-create: line 297: type: /usr/share/lxc/templates/lxc-

Re: [Lxc-users] lxc-centos on Ubuntu 12.04

2013-02-05 Thread Fajar A. Nugraha
On Wed, Feb 6, 2013 at 1:44 AM, Papp Tamas wrote: > On 02/05/2013 01:56 PM, Roland Neary wrote: >> Nothing exciting, I modified a few values such as dns servers which were >> hardcoded into the script >> but not appropriate for my setup. > Well, it's not really good. > config file and fstab file

Re: [Lxc-users] lxc-centos on Ubuntu 12.04

2013-02-05 Thread Papp Tamas
On 02/05/2013 01:56 PM, Roland Neary wrote: > Nothing exciting, I modified a few values such as dns servers which were > hardcoded into the script > but not appropriate for my setup. > > As is the script worked out of the box, I just didn't fancy fixing these > niggling issues by hand as > I made

Re: [Lxc-users] lxc-centos on Ubuntu 12.04

2013-02-05 Thread Roland Neary
oland Neary -Original message- From: Papp TamasĀ  Sent: Tue 05-Feb-2013 13:21 To: Roland Neary Cc: lxc-users@lists.sourceforge.net Subject: Re: [Lxc-users] lxc-centos on Ubuntu 12.04 On 02/05/2013 11:34 AM, Roland Neary wrote: > Hi Tamas, > > I recetly setup CentOS on Ubuntu

Re: [Lxc-users] lxc-centos on Ubuntu 12.04

2013-02-05 Thread Papp Tamas
On 02/05/2013 11:34 AM, Roland Neary wrote: > Hi Tamas, > > I recetly setup CentOS on Ubuntu with a slight variation of > https://gist.github.com/hagix9/3514296 hi, What changes did you make? If it's not necessary, I don't want to make double work. 10x tamas

Re: [Lxc-users] lxc-centos on Ubuntu 12.04

2013-02-05 Thread Roland Neary
: Mon 04-Feb-2013 14:22 To: lxc-users@lists.sourceforge.net Subject: [Lxc-users] lxc-centos on Ubuntu 12.04 hi All, Is there a template available that can be used to create working CentOS 6 containers out of box? Thank you, tamas

Re: [Lxc-users] lxc-centos on Ubuntu 12.04

2013-02-05 Thread Papp Tamas
On 02/04/2013 02:35 PM, Kalyana sundaram wrote: > I have made a lxc centos template > https://github.com/kalyanceg/lxc-centos Thanks Kalyana, unfortunately it doesn't seem to work correctly, because there is only an init process started, nothing else. However the script from the recent tarball

[Lxc-users] lxc-centos on Ubuntu 12.04

2013-02-04 Thread Papp Tamas
hi All, Is there a template available that can be used to create working CentOS 6 containers out of box? Thank you, tamas -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download Ap