• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Jul 24, 2018, 4:45 PM

    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.

    J K 2 Replies Last reply Jul 24, 2018, 6:29 PM Reply Quote 0
    • J
      Junkhacker Developer @klkwarrior
      last edited by Jul 24, 2018, 6:29 PM

      @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 Jul 24, 2018, 7:07 PM

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

        T 1 Reply Last reply Jul 24, 2018, 7:52 PM Reply Quote 0
        • T
          Tom Elliott @klkwarrior
          last edited by Tom Elliott Jul 24, 2018, 2:56 PM Jul 24, 2018, 7:52 PM

          @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 Jul 24, 2018, 9:03 PM Reply Quote 0
          • K
            klkwarrior @Tom Elliott
            last edited by Jul 24, 2018, 9:03 PM

            @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.
            T 1 Reply Last reply Jul 24, 2018, 9:19 PM Reply Quote 0
            • T
              Tom Elliott @klkwarrior
              last edited by Jul 24, 2018, 9:19 PM

              @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 Jul 24, 2018, 9:21 PM

                @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.

                T K 2 Replies Last reply Jul 24, 2018, 11:11 PM Reply Quote 1
                • T
                  Tom Elliott @JGallo
                  last edited by Jul 24, 2018, 11:11 PM

                  @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 Jul 25, 2018, 6:20 AM Jul 25, 2018, 12:17 PM

                    @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 Jul 25, 2018, 9:55 AM Jul 25, 2018, 3:53 PM

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

                      T K 2 Replies Last reply Jul 25, 2018, 4:17 PM Reply Quote 0
                      • T
                        Tom Elliott @klkwarrior
                        last edited by Jul 25, 2018, 4:17 PM

                        @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 Jul 25, 2018, 11:15 AM Jul 25, 2018, 5:15 PM

                          0_1532538910352_IMG_2.jpg

                          T 1 Reply Last reply Jul 25, 2018, 5:27 PM Reply Quote 0
                          • T
                            Tom Elliott @klkwarrior
                            last edited by Jul 25, 2018, 5:27 PM

                            @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 Jul 25, 2018, 6:28 PM Reply Quote 0
                            • K
                              klkwarrior @Tom Elliott
                              last edited by Jul 25, 2018, 6:28 PM

                              @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 Jul 25, 2018, 6:35 PM

                                @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 Jul 25, 2018, 9:27 PM

                                  @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 Jul 26, 2018, 12:28 PM Reply Quote 0
                                  • K
                                    klkwarrior @Sebastian Roth
                                    last edited by Jul 26, 2018, 12:28 PM

                                    @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 Jul 26, 2018, 7:43 PM

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

                                      199

                                      Online

                                      12.0k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project