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

    Adding Deploying images to the main iPXE menu without need to login

    Scheduled Pinned Locked Moved Unsolved General Problems
    3 Posts 2 Posters 155 Views
    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.
    • M
      mr.Twister
      last edited by

      Hi all, this is my first topic here šŸ™‚
      I have a very simple request as I really exhausted all ChatGPT brains trying to find the correct parameter to make a new menu item for iPXE to deploy either win.10 or win.11 and I failed

      I managed to create the items both inside the menu and mark them for unregistered hosts but it fails to deploy. I actually tried to amend the original one but failed to deploy too.

      Original Deploy image param. :

      login
      params
      param mac0 ${net0/mac}
      param arch ${arch}
      param username ${username}
      param password ${password}
      param qihost 1
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      

      what ChatGPT asked me to input for my menu item (Auto Win.10 Deploy) in the param was:

      params
      param mac0 ${net0/mac}
      param arch ${arch}
      param type down
      param imageID 1
      chain http://192.168.1.5/fog/service/ipxe/boot.php##params || goto bootme
      

      and many others like :

      boot.php?mac=${net0/mac}&imageID=2&type=down
      

      also suggested amending the original one to remove the need for login but also failed:

      params
      param mac0 ${net0/mac}
      param arch ${arch}
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      chain http://192.168.1.5/fog/service/ipxe/boot.php?mac=${net0/mac} || goto bootme
      

      Any solution please šŸ™‚ ? I have spent 7.5 hrs trying that I really gave up

      All replies are welcomed and appreciated.
      Thank you all.

      M 1 Reply Last reply Reply Quote 0
      • M
        mr.Twister @mr.Twister
        last edited by

        @mr-Twister

        Hey everyone šŸ™‚ any help please?
        this is really irritating to me, and I’m trying to find a resolution šŸ™‚ so any suggestion will be appreciated

        Tom ElliottT 1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott @mr.Twister
          last edited by

          @mr-Twister Can you please try this:

          http://forums.fogproject.org/post/122702

          effectively your boot menu likely needs to be:

          params
          param mac0 ${net0/mac}
          param arch ${arch}
          param qihost 1
          kernel bzImage loglevel=4 initrd=init.xz root=/dev/ram0 rw ramdisk_size=127000 web=http://${fog-ip}/fog/ consoleblank=0 rootfstype=ext4 mac= ftp=<storageIPHere> storage=<storageIPHere>:/images/ storageip=<storageIPHere> irqpoll chkdsk=0 capone=1 type=down img=<imageNameHere> imgType=n imgPartitionType=all imgid=2 osid=<imageOSIDHere> imgFormat=<imageFormatHere>
          imgfetch init.xz
          boot
          

          Replacing as appropriate:
          <storageIPHere>
          <imageNameHere>
          <imageOSIDHere>
          <imageFormatHere>

          with your relevant information.

          Ultimately finding these pieces of data relevant to your specific image will be the hardest part, but once done I believe this will do what you are wanting/hoping.

          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 0
          • 1 / 1
          • First post
            Last post

          115

          Online

          12.3k

          Users

          17.4k

          Topics

          155.7k

          Posts
          Copyright Ā© 2012-2025 FOG Project