Cloud-Init is a VM or BMS initialization tool for setting the network, hostname, and hosts files for VMs or BMSs to be created using images. This tool can also be used to generate random passwords for these VMs if needed.
If you do not need to set these parameters or generate random passwords for VMs or BMSs created using images, Cloud-Init is not required. Cloud-Init has requirements on Linux versions and can only be installed from the Internet. Therefore, before making a Linux image, ensure that the Internet is accessible.
The backup procedure is as follows:
mv /etc/yum.repos.d/xxx.repo /etc/yum.repos.d/xxx.repo.backup
xxx is the name of a file.
The package management tool for Red Hat and Oracle Linux is yum, and that for SUSE is zypper.