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

Remotely queue a deployment

Scheduled Pinned Locked Moved Solved
FOG Problems
4
6
1.4k
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 Sep 5, 2017, 6:57 PM

    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
    • T
      Tom Elliott
      last edited by Sep 5, 2017, 7:15 PM

      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 Sep 5, 2017, 7:38 PM

        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 Sep 5, 2017, 7:41 PM

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

          G 1 Reply Last reply Sep 5, 2017, 11:16 PM Reply Quote 0
          • G
            george1421 Moderator @ENorum
            last edited by Sep 5, 2017, 11:16 PM

            @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 Sep 11, 2017, 7:58 PM

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

              125

              Online

              12.2k

              Users

              17.3k

              Topics

              155.4k

              Posts
              Copyright © 2012-2024 FOG Project