Updated on 2025-05-13 GMT+08:00

Overview

Before creating a private image, you need to configure the image source to initialize the private image and improve the image availability.

An image source can be an ECS, a BMS, or an image file. You can configure them as instructed in the following tables.

Image Source: ECS or Image File

  • If the ECS was created from a public image, the one-click password reset plug-in and Cloud-Init have been installed in it by default.
  • To use an image file to create a private image, you are advised to perform the preceding operations on the VM where the image file is exported from.
  • When you register a Windows image file as a private image, if you select Enable automatic configuration, the cloud platform will check the image file for Guest OS drivers. If no Guest OS drivers are found, the cloud platform will try to install them automatically.

Image Source: BMS or Image File

Table 3 BMS configurations

OS

Configuration

Reference

Windows

  • Install the bms-network-config package.
  • Install Cloudbase-Init.
  • Delete residual files from the OS.

Creating a Private Image from a BMS

Linux

  • Install the bms-network-config package.
  • Install Cloud-Init.
  • Delete residual files from the OS.
Table 4 Image file configurations

OS

Configuration

Reference

Windows

  • Install drivers for x86 V5 BMSs.
  • Install Cloudbase-Init.
  • Install the bms-network-config package.
  • (Optional) Install the SDI iNIC driver.
  • (Optional) Install the one-click password reset plug-in.
  • Set the time zone.
  • Set the virtual memory.
  • (Optional) Configure automatic Windows update.
  • Configure the SID.

Private Image Creation Guide

Linux

  • Install and configure Cloud-Init.
  • Modify the hardware device driver that boots the OS.
  • Install the bms-network-config package.
  • (Optional) Install the SDI iNIC driver.
  • (Optional) Install the Hi1822 NIC driver.
  • (Optional) Install the IB driver.
  • (Optional) Install drivers for x86 V5 BMSs.
  • (Optional) Install the multipath software.
  • (Optional) Install the one-click password reset plug-in.
  • Perform security configuration.
  • Configure remote login to the BMS.
  • Configure the root partition to be automatically extended.