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

    Remotely queue a deployment

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    6
    1.3k
    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
      • Tom ElliottT
        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
        • 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
          • E
            ENorum
            last edited by

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

            george1421G 1 Reply Last reply Reply Quote 0
            • george1421G
              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
              • 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.

                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

                155

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project