Hi all, I want to place an encrypted one-time-password in my provisioning template. This is then used to request a certificate at install time. This OTP is only valid for 1 hour, so my idea was to create a host parameter containing the OTP right before the provisioning template is requested/rendered, and let the template get the OTP from that host parameter.
This is bare-metal installations so I cant set the OTP parameter in Foreman at host creation since the actual OS install might happen some time later, and then the OTP is invalid. Q1: Is there any way to run a foreman hook script at the time of provision template rendering? Q2: Any other suggestions on how to do this? Regards Adam -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscr...@googlegroups.com. To post to this group, send email to foreman-users@googlegroups.com. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.