FOG Project

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

    Solved Remotely queue a deployment

    FOG Problems
    4
    6
    762
    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.
    • E
      ENorum last edited by

      Server
      • FOG Version: 1.4.4
      • OS: Debian 9
      Client
      • Service Version:
      • OS: Windows 7
      Description

      Is there any way to queue an image restore remotely?

      This is what I’m trying to do, maybe you guys have a better idea of what I can do to achieve this.

      I have 3 test machines that our techs are using, they test something, then restore an image from for further testing. I would like it if there was some kind of script they could run that tells fog to queue the machine up for image on boot instead of me having to go to the UI and queue up the drop.

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

        @ENorum Did you give George’s suggestion a try. Please let us know if you could make this work or if you need further assistance with it.

        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
        • george1421
          george1421 Moderator @ENorum last edited by

          @enorum You get curl for windows, you can create your own PHP page that makes the call, or use powershell if you are so inclined with the Invoke-RestMethod function. There are a number of ways to DIY a solution around this.

          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!

          1 Reply Last reply Reply Quote 0
          • E
            ENorum last edited by

            and I’d rather not give them access to the webui.

            george1421 1 Reply Last reply Reply Quote 0
            • E
              ENorum last edited by

              Sorry, I forgot to mention, their only access to these machines is via RDP, hence the reason I’m looking for a script they can run from Windows. Looks to me like the API is probably the best bet for now.

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

                They can schedule the image right from the PXE menu. You can also script it out using the API System if absolutely necessary.

                https://forums.fogproject.org/topic/9779/can-i-use-some-kind-of-script-to-create-image-and-ghost-my-lab-machines/13

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

                181
                Online

                10.2k
                Users

                16.3k
                Topics

                149.9k
                Posts

                Copyright © 2012-2020 FOG Project