We do not have guarantee that the agnhost's `/hostname` endpoint returns a hostname and not an FQDN. We also do not have guarantee a hostname gets passed to the execHostnameTest() function for comparison. So make sure we're comparing hostnames in execHostnameTest().
7.4 KiB
7.4 KiB