• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Stop FOG from rebooting after registering host

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    4
    436
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      b_man
      last edited by

      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?

      Tom ElliottT george1421G 2 Replies Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @b_man
        last edited by

        @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.reg

        Edit 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.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 2
        • george1421G
          george1421 Moderator @b_man
          last edited by

          @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.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

          B 1 Reply Last reply Reply Quote 1
          • B
            b_man @george1421
            last edited by

            @george1421 That makes sense, thanks!

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            178

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project