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

Default Item on PXE boot menu does not work

Scheduled Pinned Locked Moved Solved
Bug Reports
5
8
1.6k
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.
  • D
    dvchuyen
    last edited by May 5, 2016, 7:29 AM

    My fog server ignores the default item setting, it always boots to local disk.
    I’m using Fog trunk 7380
    Thanks!

    1 Reply Last reply Reply Quote 0
    • Q
      Quazz Moderator
      last edited by May 5, 2016, 9:35 AM

      Did you uncheck default item for local disk?

      D 1 Reply Last reply May 5, 2016, 1:45 PM Reply Quote 0
      • D
        dvchuyen @Quazz
        last edited by May 5, 2016, 1:45 PM

        @Quazz The default item for local disk was unchecked automatically when I selected Quick Image
        http://i.imgur.com/ubFGbF7.png

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by May 5, 2016, 5:07 PM

          Confirmed. Need to look into this…

          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
          • W
            Wayne Workman
            last edited by May 6, 2016, 3:05 AM

            Moved to bugs.

            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
            • T
              Tom Elliott
              last edited by May 6, 2016, 11:02 AM

              Found, confirmed, fixed, and pushed. Thanks for reporting.

              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
              • S
                Sebastian Roth Moderator
                last edited by Sebastian Roth May 6, 2016, 5:08 AM May 6, 2016, 11:08 AM

                Thanks Tom! I played with that code for an hour or so yesterday but couldn’t get my head around it. The data array in the result was always empty which didn’t make any sense from my point of view. You know all that PHP code heaps better than I do - well you wrote most (if not all) of it! 🙂

                @dvchuyen Can you please upgrade to the very latest version and let us know if things are working for you as well.

                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

                T 1 Reply Last reply May 6, 2016, 11:11 AM Reply Quote 0
                • T
                  Tom Elliott @Sebastian Roth
                  last edited by May 6, 2016, 11:11 AM

                  @Sebastian-Roth To help, it was the array causing the issue directly.

                  The FOG Controller tests if the data it’s receiving is numeric or an array. Because the getSubObjectID’s always returns an array, the is_array portion of the FOGController constructor was taking over. This was passing to the setQuery method.

                  The setQuery method is only meant to work on associative array’s where the left side are the relevant table/key information and the right side is the values that correspond to those keys. The getSubObjectID doesn’t send the keys to work again, just the array of data.

                  The fix, for what it’s worth, was to simply add @max(self::getSubObjectIDs('PxeMenuOptions',array('default'=>1))) to the getter on the bootmenu page.

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

                  153

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project