You can install ubuntu or any of the *nix flavor on outside of openstack
(Like VirtualBox).
And copy that .qcow2 at "/tmp/images/"  and use this command to import it
into openstack..

"glance image-create --name "Centos 7.2" --is-public true --disk-format
qcow2 --container-format bare --file Centos-64.qcow2 "


You have to install cloud-init package before importing image in openstack.

This is the way I was using to copy our customize images in openstack.

On Fri, Jul 31, 2015 at 4:35 PM, Abhishek Talwar <[email protected]>
wrote:

> Hi,
>
>
> I have a multinode kilo OpenStack setup with a controller node, network
> node and 2 compute nodes. I have installed a cirros image with the
> following steps:
>
>    1. Create a temporary local directory:
>
> $ mkdir /tmp/images
>
>    1. Download the source image into it:
>
> $ wget -P /tmp/images http://download.cirros-cloud.net/0.3....
> <http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img>
>
>    1. Upload the image to the Image service using the QCOW2 disk format,
>    bare container format, and public visibility so all projects can access it:
>
> $ glance image-create --name "cirros-0.3.4-x86_64" --file
> /tmp/images/cirros-0.3.4-x86_64-disk.img \ --disk-format qcow2
> --container-format bare --visibility public --progress
>
> Now I want to install an Ubuntu image on my setup and boot VM's with it.
> So what would be the desired steps for that.
>
> I have checked this link 
> *"http://docs.openstack.org/image-guide/content/ubuntu-image.html
> <http://docs.openstack.org/image-guide/content/ubuntu-image.html>"* but
> couldnt get through.
>
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
> _______________________________________________
> OpenStack-operators mailing list
> [email protected]
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
>
_______________________________________________
OpenStack-operators mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

Reply via email to