• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.
  • L
    lebrun78
    last edited by Apr 7, 2017, 9:51 AM

    Hello,

    I would like to add to boot menu a choice to deploy the image associated with the host. Actually, with the menu deployimage, all the images are proposed.
    How could I do ?

    Fog Version: Fog 1.5.10
    Server OS: AlmaLinux release 8.8

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Apr 7, 2017, 11:55 AM

      The “Deploy image” selector will select the Image associated to a host IF a host is associated, and default to deploying that image if no button is pressed.

      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

      G 1 Reply Last reply Apr 7, 2017, 12:09 PM Reply Quote 1
      • G
        george1421 Moderator @Tom Elliott
        last edited by Apr 7, 2017, 12:09 PM

        @Tom-Elliott Could a “feature” be added to only display the image that is defined for that image? I can see this being a global setting.

        This way the IT tech could only quick deploy an image that the FOG IT admin defined for that target computer and no other?

        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 0
        • W
          Wayne Workman
          last edited by Wayne Workman Apr 7, 2017, 4:26 PM Apr 7, 2017, 10:25 PM

          The image assigned to the host is already pre-selected. If no key is pressed, the timeout will run down and the assigned image is used.

          Changing this would require a lot of code changes. Perhaps that could be worked into the new access control plugin @Fernando-Gietz ??

          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/

          G 1 Reply Last reply Apr 7, 2017, 10:27 PM Reply Quote 0
          • G
            george1421 Moderator @Wayne Workman
            last edited by Apr 7, 2017, 10:27 PM

            @Wayne-Workman It more to the point, if I set a specific image for a system, I don’t want someone picking something else (maybe a dev image that hasn’t been approved yet). There are other use cases, but that is the most common.

            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!

            W 1 Reply Last reply Apr 7, 2017, 10:28 PM Reply Quote 0
            • W
              Wayne Workman @george1421
              last edited by Wayne Workman Apr 7, 2017, 4:29 PM Apr 7, 2017, 10:28 PM

              @george1421 I think such things should be enforced by rules, policy, communication, and punnishment - rather than with code, personally.

              Not up to me though. I would bet that @Fernando-Gietz could probably do something in the access control plugin for it.

              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
              • X
                x23piracy
                last edited by x23piracy Apr 8, 2017, 6:02 AM Apr 8, 2017, 11:58 AM

                Why should only show associated image require a lot of code changes? @Tom-Elliott @Wayne-Workman
                Is there no easy way to say make everything else not showing up in that list without association?

                I really would also like to have that option.

                I have some notebooks out there where the employees reset to a default image again when they make test installation of our own software. Actually they can pick up every image that is on the node, and i like to prevent them from choosing what ever they want.

                Regards X23

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

                1 Reply Last reply Reply Quote 2
                • T
                  Tom Elliott
                  last edited by Apr 8, 2017, 3:27 PM

                  This isn’t about the difficulty in adding this, that’s simple. It’s we keep getting people who wanted one thing then later, it seems, they want it back to how it was.

                  Deploy image use to do exactly what’s wanted here until it was requested to allow the ability to select their own image. It was requested so often that I made the change. Now we’re here.

                  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

                  X 1 Reply Last reply Apr 8, 2017, 5:03 PM Reply Quote 0
                  • T
                    Tom Elliott
                    last edited by Apr 8, 2017, 4:15 PM

                    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

                    G 2 Replies Last reply Apr 8, 2017, 5:03 PM Reply Quote 1
                    • X
                      x23piracy @Tom Elliott
                      last edited by Apr 8, 2017, 5:03 PM

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

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

                      1 Reply Last reply Reply Quote 0
                      • G
                        george1421 Moderator @Tom Elliott
                        last edited by Apr 8, 2017, 5:03 PM

                        @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
                        • G
                          george1421 Moderator @Tom Elliott
                          last edited by Apr 8, 2017, 5:04 PM

                          @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!

                          T 1 Reply Last reply Apr 8, 2017, 5:11 PM Reply Quote 0
                          • T
                            Tom Elliott @george1421
                            last edited by Apr 8, 2017, 5:11 PM

                            @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
                            • G
                              george1421 Moderator
                              last edited by george1421 Apr 8, 2017, 11:17 AM Apr 8, 2017, 5:17 PM

                              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!

                              T 1 Reply Last reply Apr 8, 2017, 5:38 PM Reply Quote 2
                              • T
                                Tom Elliott @george1421
                                last edited by Apr 8, 2017, 5:38 PM

                                @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

                                X 1 Reply Last reply Apr 8, 2017, 6:08 PM Reply Quote 0
                                • X
                                  x23piracy @Tom Elliott
                                  last edited by Apr 8, 2017, 6:08 PM

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

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

                                  T 1 Reply Last reply Apr 8, 2017, 6:53 PM Reply Quote 0
                                  • T
                                    Tom Elliott @x23piracy
                                    last edited by Apr 8, 2017, 6:53 PM

                                    @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

                                    X L 2 Replies Last reply Apr 10, 2017, 5:08 PM Reply Quote 0
                                    • X
                                      x23piracy @Tom Elliott
                                      last edited by Apr 10, 2017, 5:08 PM

                                      @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 Apr 11, 2017, 10:12 AM

                                        @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

                                        T 1 Reply Last reply Apr 11, 2017, 10:16 AM Reply Quote 0
                                        • T
                                          Tom Elliott @lebrun78
                                          last edited by Apr 11, 2017, 10:16 AM

                                          @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 Apr 11, 2017, 12:07 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            11/21
                                            Last post

                                          150

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project