Change hostname early setting

There is a setting called CHANGE_HOSTNAME_EARLY, which I understand is supposed to change the hostname right after imaging is complete. I have it set to 1, but when I image my machines they always show “Changing hostname… [SKIPPED]”

I’m using Windows XP in a non-domain environment, is that not supported?

[I]“Tried setting it to 0 and 1, still says SKIPPED when imaging finishes.”[/I]
Here the problem is that the fog script doesn’t find the variable $hostname or is empty, and when invokes the function changeHostname, the condition:
if [-n hostname]…