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

    Is it possible to remove the FOG Quick image password?

    Scheduled Pinned Locked Moved
    FOG Problems
    9
    35
    17.1k
    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.
    • Wayne WorkmanW
      Wayne Workman @lebrun78
      last edited by Wayne Workman

      @Tom-Elliott this is what he’s trying to do: https://forums.fogproject.org/topic/9290/boot-menu-configuration-document

      @lebrun78 For the one classroom that you want to not manage, give them their own server on their own vlan, or give the teacher ‘mobile’ access only. Or schedule the machines to just get imaged every single night or weekend or whenever the teacher requests the classroom be imaged. You can just schedule these things, we can walk you through it. Also it’s not hard to use groups to deploy whenever it’s requested either. If you’re using the FOG Client and DHCP and have WOL enabled, and you have systems set to boot to the network first, you can deploy to a classroom without being there and all will be fine.

      The amount of work involved with you continuing to do all of the imaging is not that much when your environment is setup to your advantage.

      0_1485785830906_Mobile Access.png

      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/

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

        @Wayne-Workman said in Is it possible to remove the FOG Quick image password?:
        thanks for your answer

        Fog Version: Fog 1.5.10
        Server OS: AlmaLinux release 8.8

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

          I tried modify the fog.deployimage with this code:

          #login
          params
          param mac0 ${net0/mac}
          param arch ${arch}
          param hostname ${hostname}
          goto host_${hostname} || goto autres
          :host_admin13
          param username toto
          param password toto
          param qihost 1
          isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
          isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
          goto fin
          :autres
          login
          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
          :fin
          

          My test machine admin13 goes into the loop host_admin13, but login and password are not valid.
          It may be a coding problem for the password ?

          Fog Version: Fog 1.5.10
          Server OS: AlmaLinux release 8.8

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

            login toto and password toto is a mobile account

            Fog Version: Fog 1.5.10
            Server OS: AlmaLinux release 8.8

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

              @lebrun78
              It works know without password.

              Here is the code I put in the deploymenu:

              #login
              params
              param mac0 ${net0/mac}
              param arch ${arch}
              param hostname ${hostname}
              goto host_${hostname} || goto autres
              :host_room24PC1
              :host_room24PC2
              :host_room24PC3
              set username foo
              set password foo
              params
              param username foo
              param password foo
              param qihost 1
              isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
              isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
              goto fin
              :autres
              login
              params
              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
              :fin
              

              Could I limit access to an image or a short list of images with deployimage menu ?

              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 This is not included.

                That said, you could build your own menu item that could provide this functionality, but i will admit it would be quite an involved process.

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

                  @lebrun78 do you know where is the fog.deployimage script please?
                  I have 1.5.9 fog version and I could not find this file 😕

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

                    @lewis There is no “script” file that is used. This is stored in the database.

                    Specifically:

                    FOG Configuration Page -> iPXE Menu -> fog.deployimage

                    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
                    • S
                      Sebastian Roth Moderator
                      last edited by

                      @Lewis As mentioned further down in the discussion the fog.deployimage is not a file/script somewhere on your disk but more a setting in the FOG web UI -> FOG Configuration -> iPXE Menu Item Settings -> fog.deployimage

                      Please be aware those things mentioned here might not apply to the most current version of FOG. Not saying it does not but I don’t know if this still works.

                      If you need further help on this I may ask you to open a new topic and post a full question - describing what your aim is and what you need help with.

                      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 @Sebastian Roth
                        last edited by lebrun78

                        @sebastian-roth
                        It’s still working for me.

                        Fog Version: Fog 1.5.10
                        Server OS: AlmaLinux release 8.8

                        1 Reply Last reply Reply Quote 0
                        • Tom ElliottT Tom Elliott referenced this topic on
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post

                        209

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.3k

                        Posts
                        Copyright © 2012-2024 FOG Project