Stop FOG from rebooting after registering host
-
Is there a way to keep FOG from rebooting and completing the host registration process? If I am not watching closely, the registration process completes and then boots the machine into Windows. Sometimes I am performing this process on a sysprepped machine, which then boots into windows and I have to resysprep it. Any way to keep FOG from rebooting the machine after it completes a task/process?
-
@b_man Edit the fog menu item for full and quick registration:
Forgive me if my menu pointing is off. I’m running working-1.6 which has separated the ipxe menu from the fog configuration section. The point I’m making is still relevant though so hopefully you can adapt to follow what I’m saying.
FOG Configuration Page
iPXE Menu Configuration
fog.regEdit the boot options and append
shutdown=1
like so:
mode=autoreg shutdown=1
Do the same for fog.reginput
You should now longer have the machine reboot, rather it will completely shutoff after registration is complete.
Another method would be to edit FOG_KERNEL_ARGS and add shutdown=1 to it. (FOG Configuration Page->FOG Settings->Kernel Args) This will make it so all tasks will always shutdown when complete.
-
@b_man There is an option to power off the machine after every execution of FOS Linux (registration, capture, deploy) but its global and not specific to just registration.
But from my standpoint you have your workflow off a bit. If you are making a golden image computer, you should register that computer with FOG BEFORE you build your golden image. That way everything is setup in FOG. Then you sysprep the machine and have sysprep power off the computer. Schedule a capture in fog then pxe boot the target computer and capture the image.
-
@george1421 That makes sense, thanks!