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

    Fog customization

    Scheduled Pinned Locked Moved
    General
    4
    11
    1.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.
    • B
      BrendoJohnso
      last edited by

      Not very important but was hoping to get some help on customizing the fog boot menu to adjust background image and color scheme

      1 Reply Last reply Reply Quote 0
      • J
        Joe Schmitt Senior Developer
        last edited by Joe Schmitt

        @BrendoJohnso you can set those at FOG Configuration -> iPXE General Configuration. The FOG client is also rebrandable through the FOG Configuration 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.

        1 Reply Last reply Reply Quote 0
        • B
          BrendoJohnso
          last edited by

          I found those options but I’m unable to add say a background image to the folder because when moving the png file as it says I don’t have access to the folder with the account I built the computer with

          1 Reply Last reply Reply Quote 0
          • J
            Joe Schmitt Senior Developer
            last edited by Joe Schmitt

            @BrendoJohnso have you tried using sudo or moving the png file as root? The www directory is owned by the apache user, so your account won’t have permission to modify it by default.

            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.

            B 1 Reply Last reply Reply Quote 0
            • B
              BrendoJohnso @Joe Schmitt
              last edited by

              @joe-schmitt I used mv from the root command line but it still wouldn’t properly work what would be the sudo command for moving it

              Tom ElliottT 1 Reply Last reply Reply Quote 0
              • D
                Dahrell
                last edited by Dahrell

                Try adding the user you want to use the mv command with by first using:

                sudo gpasswd -a <username> www-data

                Where the <username> is replaced with the actual account name you want.
                That may give it permissions to move files into folders owned by www-data.

                Then do your mv command to move the file to the /var/www/fog/service/ipxe/ folder and run:

                USE fog; UPDATE globalSettings SET settingValue = ‘<backgroundimgfile.png>’ WHERE (settingKey = ‘FOG_IPXE_BG_FILE’);

                in the mysql prompt to update the file that is referenced for that setting.

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

                  @dahrell While the assistance is appreciated, I don’t think it proper to use mysql to update the field, s it leaves too much potential for mistakes. For example, if you forget the WHERE statement, you suddenly have ALL fog settings elements set to '<backgroundimgfile.png>' which would, essentially, break FOG.

                  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 2
                  • J
                    Joe Schmitt Senior Developer
                    last edited by Joe Schmitt

                    @BrendoJohnso simply run sudo mv .... where you replace .... with the correct arguments. sudo just elevates a command to ensure it has root-level privileges.

                    @Tom-Elliott is correct that the GUI setting I pointed to is the best, and safest, approach for setting the option as the DB schema is subject to change with each FOG release.

                    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.

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

                      @brendojohnso When you say you used “mv from the root command line” what do you mean? Did you login as the root user? (From ubuntu this might be something like open terminal, then run sudo -i and enter your users password, or su - and enter the root users password.)

                      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

                      B 1 Reply Last reply Reply Quote 1
                      • B
                        BrendoJohnso @Tom Elliott
                        last edited by

                        @tom-elliott I used the sudo -i command and it requested my accounts password

                        1 Reply Last reply Reply Quote 0
                        • B
                          BrendoJohnso
                          last edited by

                          Finally got it to properly move the image thank you all for your help

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

                          194

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project