Problem:
need to run a script on the foreman host server when ever any new host is created using hypervisor node, used hook /usr/share/foreman/config/hooks/host/managed/before_provision/10_a.sh
It is being loaded but the script is not running after the new host is created and up!
Expected outcome:
script should run after new deployment as declared in hooks
Foreman and Proxy versions:
1.19
Foreman and Proxy plugin versions:
Other relevant data:
[e.g. logs from Foreman and/or the Proxy, modified templates, commands issued, etc]
(for logs, surround with three back-ticks to get proper formatting, e.g.)
logs