We use FOG to deploy linux machines. After the image has been deployed, the FOG Service needs to change the hostname.
This works perfectly fine on windows, on linux the lightdm user gets detected:
------------------------------------------------------------------------------
----------------------------------UserTracker---------------------------------
------------------------------------------------------------------------------
04.10.2024 13:17:29 Client-Info Client Version: 0.13.0
04.10.2024 13:17:29 Client-Info Client OS: Linux
04.10.2024 13:17:29 Client-Info Server Version: 1.5.10
04.10.2024 13:17:29 Middleware::Response Success
04.10.2024 13:17:29 Middleware::Communication URL: https://fog.lan/fog/service/usertracking.report.php?action=login&user=tcimagehost\lightdm&mac=<MAC>&newService&json
this causes the hostname changer module to not change the hostname:
------------------------------------------------------------------------------
--------------------------------HostnameChanger-------------------------------
------------------------------------------------------------------------------
04.10.2024 13:15:54 Client-Info Client Version: 0.13.0
04.10.2024 13:15:54 Client-Info Client OS: Linux
04.10.2024 13:15:54 Client-Info Server Version: 1.5.10
04.10.2024 13:15:54 Middleware::Response Success
04.10.2024 13:15:54 HostnameChanger Users still logged in and enforce is disabled, delaying any further actions
------------------------------------------------------------------------------
In “FOG Configuration -> FOG Settings -> Active Directory Defaults” the checkmark is set by “ENFORCE HOST CHANGES”.
In “FOG Configuration -> FOG Settings -> FOG Client - Task Reboot” the checkmarks are set by “Client Taskreboot enabled” and “Task Force Reboot”.
Going to “Hosts -> <Host> -> Active Directory” and enabling “Name Change/AD Join Forced reboot?” fixes the issue, but I don’t know how to force this for all hosts by default, especially including new hosts.
FOG Version 1.5.10
FOG Client Version 0.13.0