
Due to recent changes in inventory creation, node names use FQDN and this may cause issues when deciding whether a node is an OCP node or not. Example: "compute-0.ocp.openstack.lab" is not an OCP node, but "ocp" is part of its hostname. With this patch, the issue with FQDNs is resolved by checking how the hostname starts. Change-Id: I75ad4316338effccb67614997909ee7d7ff17c65