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 to /var/lib/lxc/test/rootfs ...setting root passwd to rooter
container rootfs and config created, default root password is 'rooter'
edit the config file to check/enable networking setup
'centos' template installed
'test' created

I haven't checked to see if that is going to cause any issues, but thought
I would point out the first issue.

On Fri, Feb 8, 2013 at 12:20 PM, Kim C. Callis <kim.cal...@gmail.com> wrote:

> 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 
> <serge.hal...@canonical.com>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/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-centos:
>> > not found
>> > unknown template 'centos'
>> > aborted
>> >
>> > So what is the trick to getting the template accepted?
>>
>> Did you make it executable?  what does 'ls -l /usr/share/lxc/templates'
>> show?
>>
>
>
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to