Help Center> Bare Metal Server> Private Image Creation Guide> Linux> Checking the Cloud-Init Status> SUSE 12 SP2/SUSE 12 SP3/SUSE 15/Oracle Linux 7/Red Hat 7/CentOS 7/CentOS 8
Updated on 2023-04-17 GMT+08:00

SUSE 12 SP2/SUSE 12 SP3/SUSE 15/Oracle Linux 7/Red Hat 7/CentOS 7/CentOS 8

  1. Check whether the Cloud-init services will automatically start when the system starts.

    systemctl status cloud-init-local

    systemctl status cloud-init

    systemctl status cloud-config

    systemctl status cloud-final

  2. enabled indicates that the service will automatically start.

    Otherwise, run the following commands to enable automatic startup for them.

    systemctl enable cloud-init-local

    systemctl enable cloud-init

    systemctl enable cloud-config

    systemctl enable cloud-final

  3. Run the following commands to start Cloud-Init:

    systemctl start cloud-init-local

    systemctl start cloud-init

    systemctl start cloud-config

    systemctl start cloud-final

  4. Run the commands in 1 to check whether the Cloud-Init status is active.