Thanks Tom. That’s exactly what I expected, but I’m stuck on the approach. How do I customize FOG to take an action after the box is imaged? Or do I create a mysql trigger to call the script? Or does the script live on the imaged client and act on boot?
Posts made by SNarc
-
RE: FOG Post-Image Tasks without Client
-
RE: FOG Post-Image Tasks without Client
Sorry I don’t know a lot about sysprep. When you mention sysprep for setting the key, are you referring to the windows key? The key file I mentioned is for a 3rd party application running on the box, not for windows itself. is that something that sysprep can do?
-
RE: FOG Post-Image Tasks without Client
Thank you for the response. There are several “clients”, each of them have the same image, with the exception of a different license file that gets dropped on the box. I was trying to avoid having a whole separate image for each client just for the license file. For the windows boxes, we do not run sysprep because we want the image directly tied to the hardware - which we control.
-
FOG Post-Image Tasks without Client
I am setting up FOG in a “manufacturer” type setting, whereby the box gets shipped out after imaging. I don’t want the FOG client installed on the image in the field.
I have setup Capone to image based on MOBO - all is good there. The trick is while (or after) imaging, I want to drop a specific file on the box (which file will depend on the client). Since the FOG client isn’t installed on the image, I don’t believe I can use a snap-in. Is that a correct understanding?
Other workaround/thoughts I had were:
- Somehow develop a separate script/utility or trigger that would watch the MySQL table to identify a client has been imaged and remotely connect to the PC and drop a file.
- Setup a cron job on the image so it runs when booted to grab the file via TFTP. Except I only want this to run once and then delete itself. Easy with runonce on windows, not so much on Linux.
- Somehow mess with PXE to add a menu item to “save the file”, which would be done after the PXE image is run.
FYI, I have to be able to support clients that are Windows-based and Linux-based.
Any suggestions/leads will be so very appreciated.