if the fog-image contains the fog service then, then fog can rename machines and join the domain by itself, however in order for this to work properly, you have to edit one of the dlls in visual studio before you create the image. see FOGUserGuide - FOGProject Wiki