Feature #11643
closedAllow through API methods to render templates without configuring a host in build mode
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1207044
Description of problem:
If a host isn't in build mode, you cannot check if the kickstart template is rendered properly. Either you enable build mode and use http://sat6host/unattended/provision or you get an authentication cookie and use https://sat6host/unattended/provision?spoof=<hostname>. Both ways are tricky.
How reproducible:
Always
Steps to Reproduce:
1. Access to http://sat6host/unattended/provision from a host which is not in build mode and you won't get the template
2. Access to https://sat6.host/unattended/provision/?spoof=>hostname> and you will be redirected to login pages
3. No more methods to get it rendered
Expected results:
At least [1] should work, no matter the build status. Or it would be even better to have any API method to get it rendered.