Overview
If you want to use a private BMS image, you can use an external image file to create one. This document describes the private image creation procedure (including creating a VM and installing the OS, software, and drivers on the VM) and uses multiple OSs as examples to provide instructions for you to create a private image. You can also install software as needed to customize your private image.
After you have created a private image, you need to register it on the cloud platform. For details, see Bare Metal Server User Guide. After successful registration, you can select this private image when applying for a BMS.
Image Creation Process
Figure 1 shows the image creation process.
The description of each step in Table 1 is as follows.
| Task | Description |
|---|---|
| Preparing for the image creation | Before creating an image, you need to prepare:
|
| Creating a VM | Use virt-manager to create a VM. |
| Installing an OS on the VM | Install an appropriate OS for the VM. |
| Configuring the VM environment | Configure the network environment for the VM so that it can connect to the Internet and installation packages can be uploaded to it. |
| Configuring the VM | For Linux OS, you need to configure:
For Windows OS, you need to configure:
|
| Stopping the VM and obtaining the image | Stop the VM and obtain the image file. If the created image file is too large, it can be compressed. |
| Converting the image format | Currently, only ZVHD2 images are supported. After obtaining an image file, you need to convert its format to ZVHD2. |
OS List
The BMS image supports the following OSs:
| OS Type | OS Version | Kernel Version |
|---|---|---|
| RedHat | Red Hat Linux Enterprise 6.5 64-bit | 2.6.32-431.el6.x86_64 |
| Red Hat Linux Enterprise 6.7 64-bit | 2.6.32-573.el6.x86_64 | |
| Red Hat Linux Enterprise 6.8 64-bit | 2.6.32-642.el6.x86_64 | |
| Red Hat Linux Enterprise 6.9 64-bit | 2.6.32-696.e16.x86_64 | |
| Red Hat Linux Enterprise 7.2 64-bit | 3.10.0-327.e17.x86_64 | |
| Red Hat Linux Enterprise 7.3 64-bit | 3.10.0-514.el7.x86_64 | |
| Red Hat Linux Enterprise 7.4 64-bit | 3.10.0-693.e17.x86_64 | |
| Red Hat Linux Enterprise 7.5 64-bit | 3.10.0-862.el7.x86_64 | |
| SUSE | SUSE Linux Enterprise Server 11 SP4 64-bit | 3.0.101-63-default |
| SUSE Linux Enterprise Server 12 SP1 64-bit | 3.12.49-11-default | |
| SUSE Linux Enterprise Server 12 SP2 64-bit | 4.4.21-69-default | |
| SUSE Linux Enterprise Server 12 SP3 64-bit | 4.4.73-5-default | |
| Oracle Linux | Oracle Linux Server release 6.8 64-bit | 4.1.12-37.4.1.e16uek.x86_64 |
| Oracle Linux Server release 6.9 64-bit | 4.1.12-61.1.28.e16uek.x86_64 | |
| Oracle Linux Server release 7.2 64-bit | 3.10.0-327.e17.x86_64 | |
| Oracle Linux Server release 7.3 64-bit | 3.10.0-327.el7.x86_64 or 4.1.12-61.1.18.e17uek.x86_64 | |
| Oracle Linux Server release 7.4 64-bit | 4.1.12-94.3.9.e17uek.x86_64 | |
| EulerOS | EulerOS 2.2 64-bit | 3.10.0-327.44.58.35.x86_64 |
| EulerOS 2.3 64-bit | 3.10.0-514.44.5.10.h142.x86_64 | |
| CentOS | CentOS 6.8 64-bit | 2.6.32-642.e16.x86_64 |
| CentOS 6.9 64-bit | 2.6.32-696.e16.x86_64 | |
| CentOS 7.2 64-bit | 3.10.0-327.e17.x86_64 | |
| CentOS 7.3 64-bit | 3.10.0-514.el7.x86_64 | |
| CentOS 7.4 64-bit | 3.10.0-693.e17.x86_64 | |
| CentOS 7.5 64bit | 3.10.0-862.e17.x86_64 | |
| Ubuntu | Ubuntu 16.04 LTS 64-bit | 4.4.0-21-generic x86_64 |
| Ubuntu 14.04 LTS 64-bit | 3.13.0-24-generic | |
| XenServer | XenServer 7.1 64-bit | 4.4.x86_64 |
| Debian | Debian 8.6 64-bit | 3.16.0-4-amd64 |
| Windows | Windows Server 2012 R2 Standard 64-bit | N/A |
| Windows Server 2016 Standard 64-bit | N/A |
| OS Type | OS Version | Kernel Version |
|---|---|---|
| CentOS | CentOS 7.6 ARM | 4.14.0-115.el7a.0.1.aarch64 |
| EulerOS | EulerOS 2.8 ARM | 4.19.36-vhulk1907.1.0.h475.eulerosv2r8.aarch64 |
The SDI driver only supports the preceding kernel versions. When downloading the SDI card driver, ensure that the driver matches the kernel version.
You can run the uname -r command to query the OS kernel version.
Last Article: Creating a Linux Private Image Using virt-manager
Next Article: Preparing the Environment

Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.