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

    Add an menu item thruogh web GUI

    Scheduled Pinned Locked Moved Solved
    General Problems
    5
    18
    2.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.
    • K
      klkwarrior
      last edited by

      Recently I wanted to add a menu item to let me do a quick host registration but with the added option to assign and deploy and image all from the client.

      Is this possible if so can it be done from the web GUI?

      I am fairly new to iPXE and Fog.
      we are running 1.5.0-RC-8 as of this post.

      JunkhackerJ K 2 Replies Last reply Reply Quote 0
      • JunkhackerJ
        Junkhacker Developer @klkwarrior
        last edited by

        @klkwarrior why not do full registration?

        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 1
        • K
          klkwarrior
          last edited by

          We have a huge amount of machines to image on a daily basis, we are trying to make this a more efficient process.

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

            @klkwarrior how is it anymore effiecient for a quick reg that you define the image? For what it’s worth quickreg natively can do what you’re looking for and for. Go-to fog settings, quick reg, and select an image id and enable it. If the image is set quick reg will happen and create a deploy task.

            The values to set are:

            FOG_QUICKREG_IMG_WHEN_REG and FOG_QUICKREG_IMG_ID

            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

            K 1 Reply Last reply Reply Quote 0
            • K
              klkwarrior @Tom Elliott
              last edited by

              @tom-elliott Thank you for the instructions, I was able to find and change this on the server but there is two concerns I have.

              1. Not all the machines we are imaging are using the same image ID
              2. some of our machines say they are already registered, but are a completely different machines.
              Tom ElliottT 1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @klkwarrior
                last edited by

                @klkwarrior then do it in batches. Take one set of like machines, quick reg and image. Change settings for second batch. So on and so forth.

                Or just use the full registration option as that will allow you to set the image per machine and tell the machines to image.

                Either way, creating a new menu seems like overkill and more complicated than just using what is already available.

                Another option you could do is use the Capone plugin. This would not require your machines to be registered at all.

                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
                • J
                  JGallo
                  last edited by

                  @klkwarrior May I suggest the following:

                  1. If your project of imaging lots of machines are on the same network, maybe image as a group based on the model computers? Or are the computers at various sites?

                  2. Not sure if latest working branch has this but I know that 1.6 does have the deploy image option from the client which just basically allows for you to choose the image to deploy rather than defining anything. That I think is what is probably going to accomplish for you and you don’t have to do anything on the web UI in the sense of adding additional functions. Just define the image, upload, and then begin imaging.

                  Tom ElliottT K 2 Replies Last reply Reply Quote 1
                  • Tom ElliottT
                    Tom Elliott @JGallo
                    last edited by

                    @jgallo that option has been there since 1.4 I believe.

                    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
                    • K
                      klkwarrior @JGallo
                      last edited by klkwarrior

                      @jgallo We do see the deploy image option yet it always errors out with “failed chainloading -s”. I can get the full error when I use it today.

                      1 Reply Last reply Reply Quote 0
                      • K
                        klkwarrior @klkwarrior
                        last edited by klkwarrior

                        ![0_1532534139359_IMG_1.jpg](Uploading 100%)

                        Tom ElliottT K 2 Replies Last reply Reply Quote 0
                        • Tom ElliottT
                          Tom Elliott @klkwarrior
                          last edited by

                          @klkwarrior please try reuploading but wait until you see the picture load before submitting.

                          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
                          • K
                            klkwarrior @klkwarrior
                            last edited by klkwarrior

                            0_1532538910352_IMG_2.jpg

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

                              @klkwarrior did you start creating your own menu items?

                              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

                              K 2 Replies Last reply Reply Quote 0
                              • K
                                klkwarrior @Tom Elliott
                                last edited by

                                @tom-elliott no, this is the current state of deploy image. I have tried looking up this error and always get sent to ipxe.org/cmd. From other co-workers of mine, they say this started to happen after we had our Fog Server updated. I was not here when this happened.

                                1 Reply Last reply Reply Quote 0
                                • K
                                  klkwarrior @Tom Elliott
                                  last edited by

                                  @tom-elliott Would getting the boot.php file help diagnose this issue? if so i can provide that.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Sebastian Roth Moderator
                                    last edited by

                                    @klkwarrior Even better, please open the following URLs in your browser and provide the full output you get here: http://10.0.0.5/fog/service/ipxe/boot.php and http://10.0.0.5/fog/service/ipxe/boot.php?mac=xx:xx:xx:xx:xx:xx (put in the client PC MAC address instead of xx:xx:xx:xx:xx:xx)

                                    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

                                    K 1 Reply Last reply Reply Quote 0
                                    • K
                                      klkwarrior @Sebastian Roth
                                      last edited by

                                      @sebastian-roth 0_1532608066897_boot.txt 0_1532608082004_boot_mac.txt

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Sebastian Roth Moderator
                                        last edited by

                                        @klkwarrior Can’t see where this -S is coming from. Can you please capture the HTTP traffic when this is happening?

                                        • Get your client ready but don’t start yet. Make sure you know the IP address it receives on DHCP later on.
                                        • install tcpdump on your FOG server (e.g. sudo apt-get install tcpdump)
                                        • run tcpdump: sudo tcpdump -w item_issue.pcap host x.x.x.x (put in the client’s IP address instead of x.x.x.x and leave the command running)
                                        • boot up the client till you see the error message on screen - then stop tcpdump (ctrl+c), upload the item_issue.pcap file to some server/cloud and post a link here.

                                        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 / 1
                                        • First post
                                          Last post

                                        162

                                        Online

                                        12.0k

                                        Users

                                        17.3k

                                        Topics

                                        155.2k

                                        Posts
                                        Copyright © 2012-2024 FOG Project