Managing your cloud resources with OpenStack: Difference between revisions

Jump to navigation Jump to search
Line 104: Line 104:


=Downloading an image into a local VirtualBox=
=Downloading an image into a local VirtualBox=
The first step is to install the openstack client and download the OpenStack RC file and source it see [[OpenStack#Command Line Clients]] .
The first step is to install the openstack client and download the OpenStack RC file and source it see [[OpenStack Command Line Clients]] .
The OpenStack client can list the available images on your OpenStack project with
The OpenStack client can list the available images on your OpenStack project with
{{Command|openstack image list}}
{{Command|openstack image list}}
Line 127: Line 127:


You can then download a particular image with
You can then download a particular image with
{{Command|openstack image save --file ./<file-name-for-image>.qcow2 2c751755-854d-49c3-af82-d501e51e7159}}
{{Command|openstack image save --file ./<file-name-for-image>.<format> 2c751755-854d-49c3-af82-d501e51e7159}}
where the last argument is the <code>ID</code> of the image you wish to download taken from the table listed with the <code>openstack image list</code> command.
where <format> matches that given in the table above for your selected image andthe last argument is the <code>ID</code> of the image you wish to download.


Then to use this image in VirtualBox you will need to convert the image in the qcow2 format to the vmdk format. This can be done with the <code>qemu-img</code> tool. This can be installed with something like
Then to use this image in VirtualBox you will need to convert the image in the qcow2 format to the vmdk format. This can be done with the <code>qemu-img</code> tool. This can be installed with something like
cc_staff
1,486

edits

Navigation menu