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

    Latest FOG 0.33b

    Scheduled Pinned Locked Moved
    General
    77
    1.6k
    6.0m
    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

      I think I found the issue. I’m a dumb*** lol.

      Basically, I used copy paste which by itself is fine. Except the line that’s supposed to remove the partitioning tables for MPS tasks was:

      [code]sgdisk -Z $disk >/dev/null[/code]

      The problem with this is that it works perfectly with MPA format because I have a variable called Disk. in MPS it only needs to worry about the current hard disk.

      So I’m uploading right now.

      r1206 should fix the mbr issue. Maybe it’ll work properly now? Please test and let me know. Sorry about that over sight. It’s only piece of code to look through 400 lines so I hope you’ll understand my mistake there.

      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

        r1207 released.

        I was finally able to replicate the error exit issue described above.

        My systems would work, as far as I could tell, because the partition tables weren’t truly changed on my systems.

        So I completely wiped my drive and tried again, finally able to replicate the issue. It looks like the first iteration the partition table doesn’t actually get written.

        So the interim fix is to add the fdisk command to simply write the tables to the disk.

        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
        • T
          Troye Johnson
          last edited by

          hey question for you tom is there any way to inject items into the image a addon-image if you will?

          Fog Server information

          Cent OS 7
          Running Version 1.5.2

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

            Not easily, though I’ve heard of people doing this kind of thing with partclone images, I’ve never done this myself. Theoretically it is possible with partclone, but I don’t know how to do it myself.

            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
            • T
              Troye Johnson
              last edited by

              I will look into this I think it would be a great addition to be able to do this. it would avoid having to take an image before sysprepring or what not and it would just allow us to add to the image.

              Fog Server information

              Cent OS 7
              Running Version 1.5.2

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

                r1208, r1209, and r1210 released.

                r1208 just made correction to storage node identification. If there isn’t one set on location, it tells you not set.

                r1209 fixed an issue in the host management page with location not being able to be adjusted.

                r1210 Adds updating of inventory on all download tasks. This way, if you manually added a host, it will update the inventory with the systems information. Yay, better inventory management.

                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

                  Just a little update on the Location Plugin.

                  I’m told it works properly. One of the largest, and I think influential changes, of Lee’s original Location Patch is that it doesn’t have to be tied to a specific node. In the original patch, you had to tie the location with a node. That node would then be the goto place for that particular system.

                  Under the new logic method, it’s a plugin. This means there’s two new tables created.

                  The first table within the schema change is the location table. This table is what holds the information on a specific location. The methodology of this is you name the location and, at the very least, assign a storage group to that location. You may also assign a specific node to the location. It will update the Storage Group to whichever group the node belongs in. I’m sure there’s a few kinks to iron out, but it seems to work from what I’ve been able to test.

                  The second table is locationAssoc. This is how (change from the patch method) it associates the location to a host. You will, most likely, need to assign the location to the host if you’ve enabled this plugin for all new registration’s after the location has been enabled.

                  What this allows?

                  The biggest difference is that this allows you to use Groupings AS WELL AS specific nodes for where you want the client to get it’s images. If this person moves around a lot between locations, you just make the change to that host and all will work fine. This makes for a centralized place to manage all of the hosts under your control.

                  I hope all will enjoy this being tied in as a “plugin” to the FOG system.

                  Many many thanks to Lee Rowlett who developed this originally and the assistance with getting many of the kinks ironed out and the details of how to go about getting this implemented. I admit I added new features that were unexpected initially, but I think it allows for more dynamics and adaptability within any organization.

                  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
                  • T
                    Troye Johnson
                    last edited by

                    Tom you and lee rock I will give a go gotta get my server back up today now as you know I just moved. But I will let you know how I do with it. will there be updated instructions for any one new who may need this?

                    Fog Server information

                    Cent OS 7
                    Running Version 1.5.2

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

                      The instruction set is much simpler now.

                      Just enable the plugins on the fog server.

                      Go to activate plugins.

                      Click on Location.

                      Go to installed plugins.

                      Click on Location.

                      Click install plugin.

                      Then click home. You’ll see the location Icon appear.

                      Click on the location icon and setup your location as you normally would.

                      Go to your hosts and set up your location.

                      I also added the element (which may have been there already) to Add all hosts within a group to a location as well.

                      That’s it.

                      It looks like a lot when you read it, but really it’s only seconds of work.

                      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
                      • T
                        Troye Johnson
                        last edited by

                        sounds easy will let you know

                        Fog Server information

                        Cent OS 7
                        Running Version 1.5.2

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

                          Hello

                          To start I apologize for my English.

                          Fog is a very good job and thank you for this.

                          is it normal not to see the password FOG_STORAGENODE_MYSQLPASS in fog setting?
                          When i add a storage node is asking me for this paswword?

                          And just for the report:
                          When i go to the service management and I selected any service the graphics of the page disappears

                          Thank

                          1 Reply Last reply Reply Quote 0
                          • Lee RowlettL
                            Lee Rowlett Developer
                            last edited by

                            what you can do - on the server (from terminal) log into mysql (mysql -u root fog (-pYOUR-PASSWORD-IF-YOU-SET-ONE)) and then run…

                            Select * FROM globalSettings WHERE settingKey = “FOG_STORAGENODE_MYSQLPASS”;

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

                              Yes,

                              That is the new method.

                              I may create function to pull the information after user verification, but I’ve changed the FOG Settings to display the “Passwords” as Passwords, so prying eye’s don’t get your information.

                              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

                                r1211 released.

                                iPXE is now implemented. Please test and see how much I broke.

                                Should auto-generate for your particular setup.

                                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
                                • Lee RowlettL
                                  Lee Rowlett Developer
                                  last edited by

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • Jaymes DriverJ
                                    Jaymes Driver Developer
                                    last edited by

                                    YOU WOULD do that after I already updated my 0.33b once toady, I’ve been dying to test this! I wil have to wait until tomorrow when I am on site with my server again 🙂

                                    WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                                    1 Reply Last reply Reply Quote 0
                                    • Lee RowlettL
                                      Lee Rowlett Developer
                                      last edited by

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • JunkhackerJ
                                        Junkhacker Developer
                                        last edited by

                                        is the FOG PXE Boot menu configuration page working yet? and if so, do advanced configuration options now need to be in ipxe format instead of the old pxelinux format?

                                        signature:
                                        Junkhacker
                                        We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

                                          The Page itself should still work, but I have not converted it yet to ipxe, so I wouldn’t use it for now. I’d recommend just make the edits you may need, for now, directly in the boot.php if you can follow the flow of logic in there.

                                          If you need help let me know. That’s going to be my project later today, and tomorrow after my biopsy (if I feel well enough to work on it)

                                          If you want, I can maybe get some help on the PXE Settings, to convert it to the new formats, part of the FOGConfigurationPage.class.php?

                                          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

                                            r1212 and r1213 released.

                                            r1212 simply verifies that the init.gz is the latest and greatest, should also fix inventory issue I was seeing, though no guarantee’s yet.
                                            r1213 just updates the Default file for Redhat to have a valid Timeout value.

                                            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
                                            • 1
                                            • 2
                                            • 43
                                            • 44
                                            • 45
                                            • 46
                                            • 47
                                            • 77
                                            • 78
                                            • 45 / 78
                                            • First post
                                              Last post

                                            157

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project