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

    Bypass Host Registration

    Scheduled Pinned Locked Moved
    General
    6
    14
    5.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.
    • D
      Dark000
      last edited by

      Works like a charm. Thank you.

      1 Reply Last reply Reply Quote 0
      • x23piracyX
        x23piracy
        last edited by

        Hi,

        would it be possible to have a funtion to call a menu listing of all the images available without knowing them and adding a line for each manually in the menu?

        Regards X23

        ║▌║█║▌│║▌║▌█

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

          [quote=“x23piracy, post: 33355, member: 3982”]Hi,

          would it be possible to have a funtion to call a menu listing of all the images available without knowing them and adding a line for each manually in the menu?

          Regards X23[/quote]

          What?

          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
          • x23piracyX
            x23piracy
            last edited by

            Hi,

            i talk about a listing in pxe advanced menu that is showing all the available images on fog without the need to add them manually to the pxe menu.
            The above is showing howto add a image to the menu to deploy without host registration, i ask for a possibility to show them all without adding them one by one to the menu.

            Regards

            ║▌║█║▌│║▌║▌█

            1 Reply Last reply Reply Quote 0
            • T
              Tom S Developer
              last edited by

              I have implemented the above wiki post into fog 1.2+. I have submitted the files to Tom Elliot for review. I will keep people informed as I hear back from him in the future. I can certainly post the files here if people would like to test. Hopefully my code is up to par and can be added to the fog project in the near future

              Thanks,
              TS

              1 Reply Last reply Reply Quote 0
              • J
                Jarli
                last edited by

                I think what x23piracy is asking for is a built in feature that list all images when you ipxe boot a machine to automatically perform a full registration inventory and then image the device with a single entry, without additional user intervention.

                So that you don’t have to search for the available images that you can set and image with.

                But x23piracy, I don’t think this is needed by any means, just perform a full registration and inventory, the system then prompts you if you’d like to image the machine. (and then you can view the available images with a “?”)

                1 Reply Last reply Reply Quote 0
                • M
                  MFJust
                  last edited by

                  Hi,

                  does this work with Fog 1.2.0?
                  I am trying to use it, but when using it with capone, it displays the following for less then a second:[CODE]/usr/share/lib/funcs.sh: line 305: 2173 Broken pipe gunzip -d -c < /tmp/pigz1
                  2174 Aborted | partimage restore $2 stdin -f3 -b 2> /tmp/status.fog[/CODE]

                  When using it without capone, it displays:
                  [CODE]*Attemting to send inventory…No Host found for MAC Address: XX:XX:XX:XX:XX:XX
                  *Checking In… *Invalid MAC Address! (0sec)[/CODE]

                  My Code for the Advanced PXE Menu is:
                  [CODE]:MENU
                  menu
                  item --gap Please Select one of the images below
                  item fog.local Boot from hard disk
                  item img1 Windows 7 x64 Home Premium
                  item img2 Windows 7 x86 Home Premium
                  item return Return to main menu
                  choose --default fog.local target && goto ${target}
                  :fog.local
                  sanboot --no-describe --drive 0x80 || goto MENU
                  :img1
                  kernel bzImage root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 web=${fog-ip}/fog/ consoleblank=0 loglevel=4 type=down img=Windows7x64HP ftp=${fog-ip} imgType=n osid=5 storage=${fog-ip}:/mnt/sdc1/fog/images capone=1 imgFormat=1
                  imgfetch init.xz
                  boot || goto MENU
                  :img2
                  kernel bzImage root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 web=${fog-ip}/fog/ consoleblank=0 loglevel=4 type=down img=Windows7x86HP ftp=${fog-ip} imgType=n osid=5 storage=${fog-ip}:/mnt/sdc1/fog/images capone=1 imgFormat=1
                  imgfetch init.xz
                  boot || goto MENU
                  :return
                  chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} || goto MENU
                  autoboot[/CODE]

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

                    if you’re using bypass host registration, you may need to specify:

                    mac=00:00:00:00:00:00 in the system.

                    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

                      Also,

                      are these images partimage, or partclone?

                      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
                      • M
                        MFJust
                        last edited by

                        The images are partclone.

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

                          Then unset the imgFormat=1 or set it to imgFormat=0

                          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
                          • M
                            MFJust
                            last edited by

                            It worked, thank you very much.

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

                            200

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project