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

    add boot menu to deploy associated image

    Scheduled Pinned Locked Moved Solved
    Feature Request
    5
    21
    5.8k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      While it’s not a perfect system, I’ve moved this into Feature requests and asked as a question and solved it.

      Why did I solve it? Because I’ve adjusted to code to allow users to decide if they want a list of images or not. A new item in FOG Settings under FOG Boot Settings will allow you to display the images as a list or not.

      The way the code is laid out, if this box is checked (it is enabled by default now), it will present a list of images as you see today. This list will be preset on registered, or non-registered hosts.

      If this box is not checked, there will still be a “list” but it will only contain the device’s assigned image and return to menu items. If the host is not registered, or does not have an image associated to it, it will present you with an error. The error will be:

      Host is not valid, host has no image assigned, or there are no images defined on the server.
      

      Hopefully this appeases everybody.

      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

      george1421G 2 Replies Last reply Reply Quote 1
      • x23piracyX
        x23piracy @Tom Elliott
        last edited by

        @Tom-Elliott so please give us the option to choose in settings what we need.

        ║▌║█║▌│║▌║▌█

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

          @Tom-Elliott Sweet that will solve both requests

          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 1
          • george1421G
            george1421 Moderator @Tom Elliott
            last edited by

            @x23piracy Tom said in add boot menu to deploy associated image:

            A new item in FOG Settings under FOG Boot Settings will allow you to display the images as a list or not.

            It sounds like there is now a global option to do this.

            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!

            Tom ElliottT 1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott @george1421
              last edited by

              @george1421 I should clarify, there “will be” the ability to make this choice when I push up the next RC.

              If you all want to use this now, please install the working branch.

              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
              • george1421G
                george1421 Moderator
                last edited by george1421

                We all must understand the impact of turning on (or off depending on the logic used) this function. With the display only defined images enabled you will not be able to do a quick image on an unregistered host. Because an unregistered host will not be in fog so there will be nothing to display in that quick image menu. If you turn this feature off then you will be able to quick image any unregistered system, but you will also see all possible images when you try to quick image a registered host.

                This is a handy feature as long as you understand the caveats of it being enabled/disabled.

                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!

                Tom ElliottT 1 Reply Last reply Reply Quote 2
                • Tom ElliottT
                  Tom Elliott @george1421
                  last edited by

                  @george1421 That’s precisely what my logic flow is.

                  If the image list is enabled, show a list of all defined images. This will work for unregistered and registered hosts. If a host is registered, the associated image will be selected for the user and will automatically begin imaging after the PXE Timeout period.

                  If the image list is disabled, it will only present a registered host it’s associated image and will begin imaging after the PXE Timeout period. If a registered host has no image associated, it will print the error. If an unregistered host selects the deploy image item, it will print the error.

                  In ALL cases (On or off) if you have no images defined it will print the error.

                  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

                  x23piracyX 1 Reply Last reply Reply Quote 0
                  • x23piracyX
                    x23piracy @Tom Elliott
                    last edited by

                    @Tom-Elliott don’t slap me but where exactly is the option located?

                    ║▌║█║▌│║▌║▌█

                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @x23piracy
                      last edited by

                      @x23piracy

                      @Tom-Elliott said in add boot menu to deploy associated image:

                      A new item in FOG Settings under FOG Boot Settings will allow you to display the images as a list or not.

                      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

                      x23piracyX L 2 Replies Last reply Reply Quote 0
                      • x23piracyX
                        x23piracy @Tom Elliott
                        last edited by

                        @Tom-Elliott thanks, tested it’s working as expected. Thank You!

                        ║▌║█║▌│║▌║▌█

                        1 Reply Last reply Reply Quote 0
                        • L
                          lebrun78 @Tom Elliott
                          last edited by

                          @Tom-Elliott
                          I checked, but I get this message,
                          “Host is not valid, host has no image assigned, or there are no images defined on the server.”
                          But I have a image assigned to this host, win10-3
                          alt text

                          Fog Version: Fog 1.5.10
                          Server OS: AlmaLinux release 8.8

                          Tom ElliottT 1 Reply Last reply Reply Quote 0
                          • Tom ElliottT
                            Tom Elliott @lebrun78
                            last edited by

                            @lebrun78 Then something is wrong with your configuration.

                            The message will only happen in the cases I described.

                            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

                            L 1 Reply Last reply Reply Quote 0
                            • L
                              lebrun78 @Tom Elliott
                              last edited by

                              @Tom-Elliott
                              Trying to found the source of the problem, I’ve just created a new image, capture it from win10-3.

                              After reboot, I have always the same error.
                              In log I have the no error at capture
                              alt text

                              Where should I have a look ?

                              Fog Version: Fog 1.5.10
                              Server OS: AlmaLinux release 8.8

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

                              191

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project