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

    Boot menu configuration document

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    4
    21
    5.4k
    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

      Server
      • FOG Version: 1.3
      • OS: centos 7
      Client
      • Service Version:
      • OS: win7 win 10
      Description

      I 'm looking for a document that explain the way to configure correctly the boot menu.
      Does it exist ?

      Arnaud

      Fog Version: Fog 1.5.10
      Server OS: AlmaLinux release 8.8

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

        Can you explain what you are trying to do?

        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
        • Wayne WorkmanW
          Wayne Workman
          last edited by

          The boot menu is made from iPXE script - most of it can be changed through the FOG Web interface. Here: Web Interface -> FOG Configuration -> iPXE Boot Menu and iPXE Menu Configuration and iPXE New Menu Entry

          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
          • L
            lebrun78
            last edited by

            So I have two problems,

            First,
            I have this code set in the Fog Configuration> Fog Settings > Fog Boot Setting > FOG_PXE_ADVANCED

            I’ m asking if it is in the right place for it ?

            I want that a login-password asked to access this menu ?

            Second,
            On 0.32 fog version we have edited the fog.quickimage to let a teacher deploy the machine for his room. So machine called a24* did not required a authentication to deploy an image.
            How should I process in 1.3.3 ?

            Fog Version: Fog 1.5.10
            Server OS: AlmaLinux release 8.8

            L Wayne WorkmanW 2 Replies Last reply Reply Quote 0
            • L
              lebrun78 @lebrun78
              last edited by

              For my first question, I use this good tutorial https://forums.fogproject.org/topic/6284/booting-mdt-2013-litetouch-with-fog
              But I just like to add an authentication

              Fog Version: Fog 1.5.10
              Server OS: AlmaLinux release 8.8

              1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman @lebrun78
                last edited by Wayne Workman

                @lebrun78 said in Boot menu configuration document:

                On 0.32 fog version we have edited the fog.quickimage to let a teacher deploy the machine for his room. So machine called a24* did not required a authentication to deploy an image.
                How should I process in 1.3.3 ?

                I would create the teacher an account in FOG, and make them a “restricted” or “mobile” user. This allows them quick imaging permission but not much other permissions.

                With this access, they will also have access to the web interface’s FOG Mobile area, but I don’t see that being a problem really.

                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
                • L
                  lebrun78
                  last edited by

                  But we want to limit this operation to only one particularly room

                  Fog Version: Fog 1.5.10
                  Server OS: AlmaLinux release 8.8

                  Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman @lebrun78
                    last edited by Wayne Workman

                    @lebrun78 FOG doesn’t have the ability to do that granular a level of access control. You would have to change the codebase to do that.

                    My advice would be to make the teacher accountable, have them sign an agreement to only use FOG in their room - and limit them as just a “mobile” user.

                    Another option is to give them no access at all, make them put in a ticket to have things imaged.

                    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
                    • L
                      lebrun78
                      last edited by lebrun78

                      Which account can pass login password on ipxe.
                      fog local server accout?
                      fog web console account ?

                      other ?

                      since update I get invalid password
                      And I can’t find anything in logs

                      Fog Version: Fog 1.5.10
                      Server OS: AlmaLinux release 8.8

                      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                      • Wayne WorkmanW
                        Wayne Workman @lebrun78
                        last edited by Wayne Workman

                        @lebrun78 This explains all passwords:
                        https://wiki.fogproject.org/wiki/index.php?title=Password_Central

                        Imaging from the web interface and the boot menu both authenticate against web credentials - this is managed in the web interface under User Management. An option in there allows to limit a user to fog mobile permissions.

                        If you have the LDAP plugin installed you can authenticate against active directory.

                        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
                        • L
                          lebrun78
                          last edited by

                          I invstigate why there was specificty for this class room.
                          It’s a room to tech network and system. So students reset machines deployng the image.
                          So there is a special comportment for this room.
                          There is an account that is only available for this room.

                          Fog Version: Fog 1.5.10
                          Server OS: AlmaLinux release 8.8

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

                            On 0.32 the file /tftpboot/fog/images/fog.quickimage was modified to get this functionality, this file is not present on 1.3.3 version. Which file replaced it ?

                            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 I don’t understand your question.

                              fog.quickimage is a login option. You can change it right in the GUI to whatever you’re wanting though.

                              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
                                last edited by

                                where could I found explanation of it ?

                                Fog Version: Fog 1.5.10
                                Server OS: AlmaLinux release 8.8

                                Tom ElliottT george1421G 2 Replies Last reply Reply Quote 0
                                • Tom ElliottT
                                  Tom Elliott @lebrun78
                                  last edited by

                                  @lebrun78 What do you mean?

                                  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
                                  • Tom ElliottT
                                    Tom Elliott
                                    last edited by

                                    I don’t understand what you’re looking for.

                                    They’re ipxe scripts. Wayne give you the where, and the password information.

                                    You can edit your own menu’s. If you need a special menu for that particular room, your best bet might be to separate the main fog server and create a new one for that room. Menu’s are presented to EVERY system in the same way. While syslinux gave a potential to allow for specific systems, iPXE (in the sense fog uses it) is not. But because you are in control of the menu (You can edit it however you see fit) you could do a vlan test, or maybe mac address test within the ipxe layout.

                                    My suggestion, make that “special room” sit on it’s own network.

                                    Code the fog.quickimage option to detect the system IP Addresses and if they are within that vlan just allow imaging. That’s just my suggestion.

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

                                      @lebrun78 If I could offer a different solution for you instead of “adjusting” the FOG programming code.

                                      It is true that 7-8 years have passed since FOG 0.3x generation. So many things have changed (for the better).

                                      I might recommend that you setup a fog server in that class room. That way that room can have full control of imaging to that specific room. Change the dhcp settings to point to the local classroom’s FOG server. This room FOG server then could be configured as you need it without impacting the master FOG server. The last thing you need to do is get the images from the master FOG server to the slave FOG server. That can be done on the Master fog server by defining the slave (classroom) FOG server as a storage node. The master FOG server will then replicate any images that have the replication flag set to the slave FOG server. The last bit you have to do on the slave FOG server is to manually create the image definitions on the slave FOG server so the slave FOG server knows about the images that have been replicated to slave fog server. This is not an officially supported setup, but it does work well without having to adjust the FOG main programming.

                                      Keeping the FOG code unmodified allows you to take advantages of updates to FOG without having to adjust each update for this classroom.

                                      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
                                      • L
                                        lebrun78
                                        last edited by

                                        I’m not yet ready to add a new server.
                                        I read the old code.
                                        My predecessor had found a subterfuge, he had modified the file fog.quickimage (on a 0.32), so, if a machine had its name that started with e207, then the login and the foo password were sent.
                                        This login/password foo had the right to deploy machines on all the network.
                                        Could I do that again ?

                                        Fog Version: Fog 1.5.10
                                        Server OS: AlmaLinux release 8.8

                                        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                        • Wayne WorkmanW
                                          Wayne Workman @lebrun78
                                          last edited by Wayne Workman

                                          @lebrun78 said in Boot menu configuration document:

                                          I’m not yet ready to add a new server.

                                          It doesn’t take anything special. I’ve ran fog on an old Pentium 4 tower computer before. People these days throw better than that straight into the trash. An old dual-core or core2duo would perform fine for the needs of the classroom.

                                          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
                                          • L
                                            lebrun78
                                            last edited by

                                            I agree with you, I could install it on a virtual machine.
                                            But I would like not to have to manage a new server, and I have storage issue for big files.

                                            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

                                            215

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project