cc_staff
1,486
edits
Line 263: | Line 263: | ||
=Downloading an image into a local VirtualBox= | =Downloading an image into a local VirtualBox= | ||
The first step is to install the | 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 | |||
{{Command|openstack image list}} | |||
{{Command| | |||
producing something like: | producing something like: | ||
Line 288: | Line 285: | ||
+--------------------------------------+---------------------------------------+-------------+------------------+-------------+--------+ | +--------------------------------------+---------------------------------------+-------------+------------------+-------------+--------+ | ||
You can then download a particular image with | You can then download a particular image with | ||
{{Command| | {{Command|openstack image save --file ./<file-name-for-image>.qcow2 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> | 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. | ||
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 |