Working with images: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 8: Line 8:


<!--T:3-->
<!--T:3-->
If sharing your virtual machine images, be sure to remove sensitive information such as public/private keys, configuration files containing passwords, etc. If uploading an image created from a virtual box virtual machine to our clouds, it must have cloud-init installed and configured correctly (see openstack docs on [https://docs.openstack.org/image-guide/create-images-manually.html creating images manually] for more details).
If sharing your virtual machine images, be sure to remove sensitive information such as public/private keys, configuration files containing passwords, etc. If uploading an image created from a virtual box virtual machine to our clouds, it must have cloud-init installed and configured correctly (see OpenStack docs on [https://docs.openstack.org/image-guide/create-images-manually.html creating images manually] for more details).


<!--T:4-->
<!--T:4-->
For a list of images provided by our staff, see [[Cloud resources#Images| images]].
For a list of images provided by our staff, see [[Cloud resources#Images| images]].


=Creating an Image from a VM= <!--T:5-->
=Creating an image from a VM= <!--T:5-->
The procedure for creating an image of a VM depends on whether it is booting from a volume (typically "p" flavors), or from an ephemeral disk (typically "c" flavors).
The procedure for creating an image of a VM depends on whether it is booting from a volume (typically "p" flavors), or from an ephemeral disk (typically "c" flavors).


Line 68: Line 68:
</syntaxhighlight>
</syntaxhighlight>


=Downloading an Image= <!--T:13-->
=Downloading an image= <!--T:13-->
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]]).
The OpenStack client can list the available images on your OpenStack project with
The OpenStack client can list the available images on your OpenStack project with
Line 100: Line 100:
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= <!--T:17-->
=Uploading an image= <!--T:17-->
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
Line 111: Line 111:
* <new-image-name> is the name of the image as it appears on the OpenStack dashboard.
* <new-image-name> is the name of the image as it appears on the OpenStack dashboard.


=Creating a VirtualBox VM from a Cloud Image= <!--T:19-->
=Creating a VirtualBox VM from a cloud image= <!--T:19-->
[https://www.virtualbox.org/ VirtualBox] is a software package which allows you to create and run virtual machines on your desktop or laptop. It can be run on many different operating systems (Windows, Linux, Mac) and the virtual machines it creates may run one of many different operating systems.
[https://www.virtualbox.org/ VirtualBox] is a software package which allows you to create and run virtual machines on your desktop or laptop. It can be run on many different operating systems (Windows, Linux, Mac) and the virtual machines it creates may run one of many different operating systems.


rsnt_translations
56,430

edits

Navigation menu