Managing your cloud resources with OpenStack/en: Difference between revisions

Jump to navigation Jump to search
Updating to match new version of source page
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 185: Line 185:
{{Command|openstack image save --file ./<file-name-for-image>.<format> <ID>}}
{{Command|openstack image save --file ./<file-name-for-image>.<format> <ID>}}
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=
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
{{Command|openstack image create --file <path-to-local-file-image> --disk-format <format> <new-image-name>}}
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.


=Creating a VirtualBox VM from a Cloud Image=
=Creating a VirtualBox VM from a Cloud Image=
38,897

edits

Navigation menu