doc-exports/docs/bms/image-creation-guide/en-us_topic_0131700228.html
guoyanyan fe8c0cf45c BMS Image Creation Guide 1109
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: guoyanyan <guoyanyan3@huawei.com>
Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
2022-11-16 08:53:42 +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 customize the network configuration, host name, hosts configuration 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 case, 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.