Managing Virtual Server Images
Create and manage images of created virtual servers.
Creating an Image
Create virtual server images of virtual servers that you have created.
First, you must shut down the virtual server of which you will create an image.
Also, do not start the target virtual server until creation of an image has been completed. If you start the target virtual server while the image is being created, the content of the volume may be updated.
Perform the following steps before creating an image of a virtual server whose OS is CentOS 6.x, Ubuntu, or Red Hat Enterprise Linux 6.x (x is a number). If the following settings remain in the image, network communication with the virtual server created from that image will not be possible.
-
Disable write_net_rules
/lib/udev/rules.d/75-persistent-net-generator.rules
Comment out (add a # to the beginning of the line) the following line in the above file.
DRIVERS=="?*", IMPORT{program}="write_net_rules"
-
Delete /etc/udev/rules.d/70-persistent-net.rules
rm -f /etc/udev/rules.d/70-persistent-net.rules
Item | Description | Required |
---|---|---|
Image Name | Specify a name that identifies the image | |
Disk Format | Specify "raw" | |
Container Format | Specify "bare" | |
Force Option | Specify "true" |
Acquiring/Updating Image Metadata
You can check and edit metadata that is assigned to virtual server images that have been created.
Item | Description | Required |
---|---|---|
Image Name | Specify a name that identifies the image | |
Metadata | Specify the metadata for the image in Key-Value format |
Deleting an Image
Delete images that have been registered.