Translations:Managing your cloud resources with OpenStack/42/en: Difference between revisions
Jump to navigation
Jump to search
(Importing a new version from external source) |
(Importing a new version from external source) |
||
Line 2: | Line 2: | ||
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>}} | ||
where <code><server-name></code> should be replaced with the name of your server. | where <code><server-name></code> should be replaced with the name of your server. The command only includes the VM's root drive (e.g. /dev/vda) in the image. This means that ephemeral drives and non-boot attached volumes are not included in the image and additional measures should be taken to preserve this data. In addition, a running VM which is writing to disk while the image is being created, may leave the file system in an inconsistent state. It is recommended that a VM be shutdown (not terminated) before an image is created from it. |
Revision as of 14:21, 10 November 2016
Creating an Image From a VM
Using the OpenStack Command Line Clients issue the command
[name@server ~]$ openstack server image create <server-name>
where <server-name>
should be replaced with the name of your server. The command only includes the VM's root drive (e.g. /dev/vda) in the image. This means that ephemeral drives and non-boot attached volumes are not included in the image and additional measures should be taken to preserve this data. In addition, a running VM which is writing to disk while the image is being created, may leave the file system in an inconsistent state. It is recommended that a VM be shutdown (not terminated) before an image is created from it.