what makes an image, call for a fog.postdownload script?
-
Is there something that makes an image, when deployed, call for the fog.postdownload script to run?
I have some that do run them and others that don’t but it’s not my server so I’m not sure what was done to make it work that way. Thanks
-
Sorry - I should’ve mentioned - Rocky9 client and server for the most part. Updated to latest versions.
Thanks
-
@gribbler Only deploy based imaging tasks runs postdownload.
deploy with snapins
deploy without snapins
deploy debugI think are the only three.
-
@Tom-Elliott said in what makes an image, call for a fog.postdownload script?:
deploy based imaging tasks runs postdownload.
And if they don’t run for some images, how would i debug?
I installed the OS, booted the host, registered it, imaged it… but I can’t get it if I try to deploy back to the same or another host to run the postdownload script and I’m struggling to understand why. Thanks @Tom-Elliott -
@gribbler the post download script will run for all deploy tasks. If there’s a specific post download script you’ve written you would have to provide those here so we could attempt to figure out why it worked for this but not that. I have no idea what your scripts look like or what they’re doing.
In your scripts you can do debugPause statements and you’d have to run your task in debug mode to see it on the fly.
-
Ok thanks @Tom-Elliott - that helped me. I had a script that was failing and trying to find logs for it was difficult to get a location that it could write to, that I could find after the deployment, and i couldn’t see if it was erroring or whatever… running in deploy debug was really helpful. Thanks.