For Red Hat 7 and CentOS 7, cloud-init-local may fail to start. After you run systemctl status cloud-init-local.service, the message "OSError: [Errno 2] No such file or directory" is displayed. As a result, data cannot be injected into the BMS.
If Red Hat 7 or CentOS 7 has a libselinux module earlier than version 2.5.7, a known kernel bug will occasionally cause cloud-init-local start failure (for details of the bug, see https://bugzilla.redhat.com/show_bug.cgi?id=1406520). When creating a Red Hat 7 or CentOS 7 image, you are advised to upgrade libselinux to version 2.5.7 or later by following the instructions in section Red Hat, CentOS, Oracle Linux, and XenServer.