Skip to content

jimmysenior/huaweicloud-cloud-init

Linux huaweicloud-cloud-init support


Package provides configuration and customization of cloud instance.

For information on how to contribute, read:

Download package for cloud-init

Instruction for install package for cloud-init

  1. Download the cloud-init ZIP file and transfer the ZIP file to an ECS instance. The instruction below will use /tmp/CLOUD-INIT as the workspace for installing the cloud-init package.

  2. Extract the cloud-init ZIP file

    • unzip cloud-init-0.7.6.zip
  3. Install the cloud-init package.

    CentOS|RHEL|Oracle6.x/SLES11.x:

    • python setup.py build
    • python setup.py install --init-system sysvinit

    CentOS|RHEL|Oracle7.x/SLES12.x:

    • python setup.py build
    • python setup.py install --init-system systemd

    RHEL does not have a syslog user by default, you have to add it manually.

    • useradd syslog

    System_info section, replace distro: ubuntu with distro: rhel or distro: sles according to the distribution you will use.

    Ensure all cloud-init services are in active status by issuing the following commands.

    CentOS|RHEL|Oracle6.x/SLES11.x:

    • chkconfig cloud-init-local on
    • chkconfig enable cloud-init on
    • chkconfig enable cloud-config on
    • chkconfig enable cloud-final on

    CentOS|RHEL|Oracle7.x/SLES12.x:

    • systemctl enable cloud-init-local.service
    • systemctl enable cloud-init.service
    • systemctl enable cloud-config.service
    • systemctl enable cloud-final.service
  4. How to check cloud-init package if install success.

    • cloud-init -v

      cloud-init 0.7.6

    • cloud-init init --local

      Cloud-init v. 0.7.6 running 'init-local' at Sat, 18 Aug 2018 04:43:52 +0000. Up 7486345.46 seconds.

About

Package provides configuration and customization of cloud instance

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
LICENSE-Apache2.0
GPL-3.0
LICENSE-GPLv3

Stars

Watchers

Forks

Packages

No packages published