Hooks and db updates

We try to manage all of our OS installs (bare metal provisioning) with foreman even if all it can do is track that an OS is/was installed on a host statically (no agents). I would like to add a hook to disable notifications for these hosts but not sure what the best hook to leverage would be. I’m leaning towards postcreate at the moment.

We ended up solving this with a create hook that checks the status and prevents saving if this is enabled.