FOG Project

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

    Solved iPXE Menu item to just restart PC?

    General
    2
    3
    132
    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.
    • S
      Shinare last edited by Shinare

      Is there a way to have a default menu item that if the PC boots into FOG menu after 3 seconds it just restarts the PC, hard restart?

      The Sysinfo option boots into a menu where option 1 is restart. Is there a way to make that default with a timeout or automatically select that option?

      Thank you! (Total noob at this stuff)

      1 Reply Last reply Reply Quote 0
      • S
        Shinare last edited by

        That did it jest as described. Thank you so much!!!

        1 Reply Last reply Reply Quote 1
        • george1421
          george1421 Moderator last edited by

          Well it looks like its possible.

          Lets first start by creating a new iPXE menu.

          FOG Configuration->New iPXE Menu (something like that posting from old memory)

          Menu Item: os.Reboot
          Description: Wait and Reboot
          Parameters:
          reboot || goto MENU
          Menu Show with: All Hosts

          Then go and save that menu entry.

          PXE boot the target computer into the iPXE menu and pick the Wait and Reboot menu. Does it do what you want (not the wait part, but the reboot). If it does then go back into the iPXE menu editor and make that entry the default menu item.

          Understand I have not personally tested this so it may work, and it may not. If the system reboots then when its selected as default you will get the wait and then the default action will be to reboot the target computer.

          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!

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

          150
          Online

          10.2k
          Users

          16.3k
          Topics

          149.9k
          Posts

          Copyright © 2012-2020 FOG Project