EulerOS 2.2 and EulerOS 2.3
- Take EulerOS 2.2 as an example. Add the yum repository to the /etc/yum.repo.d/EulerOS-base.repo file based on https://support.huaweicloud.com/en-us/ecs_faq/ecs_faq_1006.html. The following is an example:
[EulerOS-base] name=EulerOS-base baseurl=http://developer.huawei.com/ict/site-euleros/euleros/repo/yum/2.2/os/x86_64/ enabled=1 gpgcheck=1 gpgkey=http://developer.huawei.com/ict/site-euleros/euleros/repo/yum/2.2/os/RPM-GPG-KEY-EulerOS
Edit and save the file.
- Run the yum repolist command and then yum install cloud-init command to install Cloud-Init 0.7.6.
Dependent packages of Cloud-Init 0.7.6 will also be installed automatically.
Installed: cloud-init.x86_64 0:0.7.6-2 Dependency Installed: PyYAML.x86_64 0:3.10-11 audit-libs-python.x86_64 0:2.4.1-5 checkpolicy.x86_64 0:2.1.12-6 libsemanage-python.x86_64 0:2.1.10-18 libyaml.x86_64 0:0.1.4-11 policycoreutils-python.x86_64 0:2.2.5-15.h1 python-IPy.noarch 0:0.75-6 python-backports.x86_64 0:1.0-8 python-backports-ssl_match_hostname.noarch 0:3.4.0.2-4 python-jsonpatch.noarch 0:1.2-2 python-jsonpointer.noarch 0:1.9-2 python-prettytable.noarch 0:0.7.2-1 python-requests.noarch 0:2.6.0-1 python-six.noarch 0:1.9.0-2 python-urllib3.noarch 0:1.10.2-2 setools-libs.x86_64 0:3.3.7-46 Complete!
- To inject the password of user root, run the yum install selinux-policy command to upgrade selinux-policy from h1 to h2.
- Run the cloud-init -v command. If the command output contains the Cloud-Init version number, the installation is successful.
Last Article: SUSE, Red Hat, CentOS, Oracle Linux, Ubuntu, Debian, and EulerOS 2.8 ARM
Next Article: Configuring Cloud-Init
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.