cc_staff
1,486
edits
No edit summary |
(Marked this version for translation) |
||
Line 219: | Line 219: | ||
where <format> matches the value in the ''Disk format'' column and <ID> matches the value in the ''ID'' column. | where <format> matches the value in the ''Disk format'' column and <ID> matches the value in the ''ID'' column. | ||
=Uploading an Image= | =Uploading an Image= <!--T:50--> | ||
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]]). | ||
Then run the command | Then run the command | ||
{{Command|openstack image create --file <path-to-local-file-image> --disk-format <format> <new-image-name>}} | {{Command|openstack image create --file <path-to-local-file-image> --disk-format <format> <new-image-name>}} | ||
<!--T:51--> | |||
where <path-to-local-file-image> is the path to the file containing the image you wish to upload from your local machine, <format> is the disk format if not specified the raw format is assumed, which is incorrect can cause issues when using the image in OpenStack, and <new-image-name> is the name of the image as it appears on the OpenStack dashboard. | where <path-to-local-file-image> is the path to the file containing the image you wish to upload from your local machine, <format> is the disk format if not specified the raw format is assumed, which is incorrect can cause issues when using the image in OpenStack, and <new-image-name> is the name of the image as it appears on the OpenStack dashboard. | ||