When I create a hook using dx_ctl_dbhooks toolkit, it creates a hook in the VDB with the content of the script which I passed as hook.
e.g.:
dx_ctl_dbhooks -d de1 -action set -hookname confighook1 -hooktype configureClone -dbname msktest1 -hook /home/delphix/delphix_oratab.sh
When I check configure clone hook in the Engine, the entire script content appears in the hook. I believe the hook should be created only with the exact path of the script (as "/home.delphix/delphix_oratab.sh") which needs to be executed as hook (script might have some runtime user arguments), and not the entire content of the script.
Please check if this can be corrected to fix this behavior.
Thanks,
Sushil
------------------------------
Sushil Krishn
Oracle DBA
Unisys
------------------------------