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

    Set host to always boot from ipxe entry

    Scheduled Pinned Locked Moved
    General Problems
    2
    3
    362
    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.
    • U
      uberthoth
      last edited by

      Is it possible to set a particular host to always boot from a particular custom ipxe menu entry?

      For example, I am still experimenting with rancherOS and fog

      And in some cases, I want a particular machine to always boot ipxe as a worker node.

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @uberthoth
        last edited by

        @uberthoth I’m not sure I understand your use case here, but fog is configured to only have one default entry and to to treat all hosts the same.

        With that said you may be able to insert a custom of iPXE menu in the boot chain for fog.

        When FOG pxe boot a target computer it transfers fog custom ipxe boot loader to the target computer. That custom ipxe boot loader (undionly.kpxe or ipxe.efi) has a script built in to contact the fog server and load a ipxe script called default.ipxe. That script is in the /tftpboot directory on the fog server. If you were to write your own version of the default.ipxe file, matching a list of mac addresses and booting your custom ipxe menu from there, then if no mac address matches then continue on with the normal fog booting process. That would let you insert a custom ipxe menu in front of the FOG pxe booting process. That should work.

        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!

        U 1 Reply Last reply Reply Quote 0
        • U
          uberthoth @george1421
          last edited by uberthoth

          @george1421 I think that may work, it might be just as easy to implement a feature as well for the web interface, just brainstorming here. But my assumption was that after registering a host, I would be able to log into the fog web interface and assign which menu entry would be default for a host.

          I will experiment with both the method you describe, and perhaps a feature as described above in the web interface and see if I can’t get it to work.

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

          188

          Online

          12.1k

          Users

          17.3k

          Topics

          155.3k

          Posts
          Copyright © 2012-2024 FOG Project