Files
doc-exports/docs/bms/image-creation-guide/en-us_topic_0131700228.html
wanghuijuan738 1b650765a0 BMS bpicg 250708 version. Modified descriptions in some topics.
Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com>
Co-authored-by: wanghuijuan738 <wanghuijuan738@huawei.com>
Co-committed-by: wanghuijuan738 <wanghuijuan738@huawei.com>
2025-07-21 12:00:10 +00:00

2.6 KiB

Overview

Scenario

Cloud-Init is a tool developed to initiate VMs or BMSs in the cloud environment. It is used to configure the network, hostname, hosts file, username, and password when a user uses images to create VMs or BMSs. Cloud-Init is also required if the password of a VM created by using images is to be generated by the system at random.

In other cases, Cloud-Init is not required. The Cloud-Init installation file has requirements on Linux versions and can only be installed from the Internet. Therefore, ensure that the VM can access the Internet.

Prerequisites

  • You have logged in to the VM.
  • The host can connect to the Internet.
  • You have logged in to the host using VNC Viewer and installed an OS on the host using virt-manager.

Description

  1. The Cloud-Init installation procedures in the following sections are for reference only. You are advised to download the Cloud-Init from the official website. The Cloud-init version is updated on the official website in real time. Install the latest version.
  2. When you modify the /etc/cloud/cloud.cfg file, ensure that the file format (such as alignment and spaces) is consistent with the provided example that conforms to the yaml syntax.