OML 9 pre_action, post_action auto granting certs issue
I am relatively new to OML and am trying to incorporate automation into my environment. My primary goals are auto granting certificates, assigning nodes to node groups, and deploying policies associated with the node groups. I posted a similar question the other day and was fortunately pointed towards a document called "OMU agents using clone images". This document is helpful, but I am having issues getting the pre and post actions working when the cert is granted. I am able to get both scripts to run but the commands I have inserted into the post action script don't do what's expected.
These are the relevant commands in the post action script: