Managing your cloud resources with OpenStack: Difference between revisions

Marked this version for translation
No edit summary
(Marked this version for translation)
Line 116: Line 116:
You can then download the image as described in [[OpenStack#Downloading an image into a local VirtualBox | Downloading an image into a local VirtualBox]]. It is best to detach the volume from the VM before you create an image from the volume. If the volume is a boot volume you will likely need to delete your VM to detach it, however, make sure you have not checked "Delete Volume on Instance Delete" when creating the VM.
You can then download the image as described in [[OpenStack#Downloading an image into a local VirtualBox | Downloading an image into a local VirtualBox]]. It is best to detach the volume from the VM before you create an image from the volume. If the volume is a boot volume you will likely need to delete your VM to detach it, however, make sure you have not checked "Delete Volume on Instance Delete" when creating the VM.


=Creating an Image From a VM=
=Creating an Image From a VM= <!--T:42-->
Using the [[OpenStack Command Line Clients]] issue the command
Using the [[OpenStack Command Line Clients]] issue the command
{{Command| openstack server image create <server-name>}}
{{Command| openstack server image create <server-name>}}
Line 213: Line 213:
where <format> matches that given in the table above for your selected image and the last argument is the <code>ID</code> of the image you wish to download.
where <format> matches that given in the table above for your selected image and the last argument is the <code>ID</code> of the image you wish to download.


=Creating VirtualBox VM from a Cloud Image=
=Creating VirtualBox VM from a Cloud Image= <!--T:41-->
<!--T:41-->
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
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
{{Command|sudo apt-get install qemu-img}}
{{Command|sudo apt-get install qemu-img}}
Bureaucrats, cc_docs_admin, cc_staff, rsnt_translations
2,837

edits