theforeman / foreman_hooks

Run custom hook scripts on Foreman events
http://m0dlx.com/blog/Extending_Foreman_quickly_with_hook_scripts.html
GNU General Public License v3.0
56 stars 50 forks source link

Unable to run hook on bare metal build or simple rebuild #60

Open whackyhack opened 4 years ago

whackyhack commented 4 years ago

I am using Foreman 1.14.3, foreman_hooks plugin 0.3.14. I have a generic script equivalent to the provided example logs.sh. When placed under host/managed/after_create/, every time a KVM (Libvirt) guest is created, it gets executed. But I cannot get it to execute in the following two scenarios:

I have tried host/managed/after_build/, host/base/after_create/, etc.