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

    Quick or Full Inventory then Restart or Shutdown option

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    9
    4.0k
    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.
    • K
      koshia
      last edited by

      Does anyone know if this is possible or where I can adjust the setting?

      Whenever i’m setting up new computers - my processes has been:

      1. Boot up computer, go into bios
      2. Adjust bios settings, restart
      3. Boot to NIC, quick inventory
      4. Hard shut off machine
      5. Go to Fog hosts, assign image, create task to download image
      6. Boot to NIC, image deploys

      After the inventorying the computer just boots right into windows where the manufacturer’s sysprep takes place. I would then need to either hard shut down and reboot into NIC or else go through sysprep to properly shutdown. It’s a step that’s taking some time and I rather after it inventories, it would just restart or shutdown and await for next instruction.

      Could someone chime in where the settings are for this?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by Wayne Workman

        @koshia

        If you’d just use “Full Host Registration” - you can name the computer, assign it an image and then schedule an image task all during registration. Then when it reboots and you tell it to boot to the network again, it will image and then name the computer for you.

        That’s my suggestion.

        Or, update to FOG Trunk, and make use of the “quick image” feature which does not require registering. Here is information on FOG Trunk: https://wiki.fogproject.org/wiki/index.php/Upgrade_to_trunk

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • K
          koshia
          last edited by

          @WayneGood

          Thanks Wayne, that actually will work just fine for inventorying. I went through and added the host, but after the inventorying was done, it just booted right into Windows - obviously I think I missed the timing to select manual boot into NIC and it went straight to the Windows Sysprep setup.

          Appreciate the help!

          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @koshia
            last edited by

            @koshia Yeah I think you just missed telling it to boot to the network.

            The feature works good. I’m sure you’ll be fine.

            I suppose we need an additional feature… Perhaps just a simple modification to “quick image” that will ask yes or no for registering, with the default being “No.” (because quick image is supposed to be quick). If “yes” is chosen, the machine should quick-register.

            Just an idea. @Developers

            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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 0
            • JunkhackerJ
              Junkhacker Developer
              last edited by

              or perhaps a “quick register and shutdown” ?
              if you are running the trunk version of fog you can add a new item to the ipxe menu by clicking “iPXE New Menu Entry” in “fog configuration”
              in that area you can create a new entry with the following values
              Menu Item: fog.autoreg.off
              Description: Quick register and Shutdown
              Parameters: <leave this blank>
              Boot Options: mode=autoreg shutdown=1
              Default Item: <unchecked>
              Menu Show with: Not Registered Hosts
              that should shut the computer down after quick registration. let me know if it doesn’t work for you

              signature:
              Junkhacker
              We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

              Wayne WorkmanW 1 Reply Last reply Reply Quote 1
              • Wayne WorkmanW
                Wayne Workman @Junkhacker
                last edited by

                @Junkhacker You’re amazing.

                Is there a list of options we can use anywhere? This is the first time I remember seeing stuff like shutdown=1 and mode=autoreg I’m wondering what others there are…

                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!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                1 Reply Last reply Reply Quote 0
                • JunkhackerJ
                  Junkhacker Developer
                  last edited by

                  mode= autoreg is the parameter used to run the quick registration script
                  shutdown=1 is the parameter set when you check the “Schedule Shutdown after task completion” checkbox when you create a download or upload task from the fog web interface

                  signature:
                  Junkhacker
                  We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                  1 Reply Last reply Reply Quote 0
                  • W
                    Wolfbane8653 Developer
                    last edited by

                    https://github.com/FOGProject/fogproject/blob/33fe4988cc738a625308267ae78cdc7879a6e411/src/buildroot/package/fog/scripts/etc/init.d/S99fog

                    I hope this helps a bit to understand the commands you can use in the new ipxe menu in 1.3.0.

                    Wayne WorkmanW 1 Reply Last reply Reply Quote 2
                    • Wayne WorkmanW
                      Wayne Workman @Wolfbane8653
                      last edited by

                      @Wolfbane8653 Exactly what I was looking for, a list! Thank you!

                      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!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

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

                      215

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project