Managing your cloud resources with OpenStack: Difference between revisions

Jump to navigation Jump to search
Line 60: Line 60:


===Creating an Image From a Volume===
===Creating an Image From a Volume===
{{To Do| update to use the new combined openstack CLI}}
Creating an image from a volume allows you to download the image either for a backup or to use in virtual box.
Creating an image from a volume allows you to download the image either for a backup or to use in virtual box.
{{Command|cinder upload-to-image --disk-format qcow2 --container-format bare <volume_id> <image_name>}}
 
where <volume_id> can be found from the OpenStack dash board by clicking on the volume name and <image_name> is the name given to the image you are creating. This uses one of the command line clients available for OpenStack see [[OpenStack#Command Line Clients]] for more details about working with command line clients. This image can then be downloaded in the way described in [[OpenStack#Downloading an image into a local VirtualBox]]
{{Command|openstack image create --disk-format <format> --volume <volume_name> <image_name>}}
where <volume_name> can be found from the OpenStack dash board by clicking on the volume name and <image_name> is the name given to the image you are creating. <format> is the disk format, two possible values are qcow2 and vmdk. See [[OpenStack#Command Line Clients]] for more details about working with command line. This image can then be downloaded in the way described in [[OpenStack#Downloading an image into a local VirtualBox]]


==Command Line Clients==
==Command Line Clients==
cc_staff
1,486

edits

Navigation menu