SOLVED Remotely queue a deployment
- FOG Version: 1.4.4
- OS: Debian 9
- Service Version:
- OS: Windows 7
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.
@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.
@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.
and I’d rather not give them access to the webui.
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.
They can schedule the image right from the PXE menu. You can also script it out using the API System if absolutely necessary.