Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Whenever I set up a devstack or OpenStack deployment, I want to add the latest LTS Ubuntu server image. I succeeded several times in the past and I believe it can be achieved with something like:

wget http://uec-images.ubuntu.com/releases/12.04.2/release/ubuntu-12.04.2-server-cloudimg-amd64-disk1.img
glance image-create --is-public true --disk-format qcow2 --container-format bare --name "precise" < ubuntu-12.04.2-server-cloudimg-amd64-disk1.img

I wonder, though, where can I find the officially supported documentation on doing this? How can I contribute to it? I sometimes experience problems and without official instructions I'm never sure if it's the above command or my deployment. I tried adding these instructions to the OpenStack official docs and/or the accompanying Disqus comments on two occasions, but these would get removed and I can't find a consistent, supported manual to do this, I would expect very basic, procedure.

Also, what about the elusive cloud-init options to guest images? Where can I find instructions on how to use those? From the terminal and from the web UI? I once had to go fishing for this information in the source code.

What I found so far is the site listing the available images, but one that doesn't state what are the formats of the images - I always have to google for this information. There is the UEC wiki that lists many recipes on how to create your own images, but not how to use existing ones (or the premade ubuntu cloud images). Then there is the most easily found "cloud" category on ubuntu.com that only links to some promotional pamphlets and the uninformative cloud images listing.

I know that this is a semi-bug report (which I would like to see fixed or help fix :) ), but I would also like to know the answers to the questions I posed.

share|improve this question
+1 from me, if i try and upload the .tar.gz file downloaded from Ubuntu, it won't boot (No bootable device), i'm assuming QCOW2 format when i fill in the upload form. I have to revert to the cli to get a working image. –  Chris White Oct 12 '13 at 23:08

1 Answer 1

you can find the format of an image using:

# qemu-img info image_filename.

This will tell you if it is raw or qcow2 and what size it is.

share|improve this answer
How can I install it? –  Lucio Jan 11 '14 at 21:46
OK, but I assume this is possible only once the image is downloaded. This is useful, but I was asking more about the documentation for the 12 or so images that are listed on the UEC site. I don't really want to download them all and reverse-engineer the information about them :) –  kermit666 Jan 11 '14 at 22:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.