centos6.x image for glance

asked 2014-01-19 17:58:59 -0600

mili gravatar image


I'm looking for a centos image for glance. I found two and each have their own problem:

The first link dose not inject ssh key and I cant seem to find a password for it: https://github.com/rackerjoe/oz-image-build

the second one is 10G root, When i try to resize with virt-resize I get an error http://catn.com/labs/project/centos-images/

Fatal error: exception Guestfs.Error("unexpected end of file when reading from daemon.
This usually means the libguestfs appliance failed to start up.  Please
enable debugging (LIBGUESTFS_DEBUG=1) and rerun the command, then look at
the debug messages output prior to this error

Do you know of any good working version or source for centos images.


edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-01-20 07:41:26 -0600

sgordon gravatar image

updated 2014-01-20 07:42:10 -0600

There is a CentOS 6 image built by the RDO packaging team available here:

Note that while this image does support key injection it does not (yet) support growroot. See the announcement thread for more details:

An updated image is expected in the near future.

edit flag offensive delete link more


Thanks for the link, How can I resize this myself? im not very familiar with virt-resize

mili gravatar imagemili ( 2014-01-20 21:04:39 -0600 )edit

I also download this image(centos-6.5-20140117.0.x86_64.qcow2) and use it to boot a vm ,Now I don't how to login the system ,what is the root's password? do you know it?

xiaofa gravatar imagexiaofa ( 2014-03-20 11:20:30 -0600 )edit

Like most cloud images, particularly intended for use with platforms like OpenStack and EC2, the root account is locked. You inject an SSH key using the dashboard or command line client while starting the instance and that is used to log in.

sgordon gravatar imagesgordon ( 2014-03-20 15:18:29 -0600 )edit

That image is no longer available.

aimon gravatar imageaimon ( 2014-08-18 18:05:06 -0600 )edit

answered 2014-01-20 04:01:03 -0600

Sifty gravatar image

Here is my effort at rolling my own - based on other sources ... I am sure it can be improved. https://github.com/pastyboy/os_notes/wiki/Build-CentOS-6.4-OpenStack-image

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-01-19 17:58:59 -0600

Seen: 1,910 times

Last updated: Jan 20 '14