Bug #1498
closedunattended provisioning with foreman login enabled
Description
When using unattended provisioning and foreman login enabled foreman always try to redirect to login page.
Thats the reason why new server cant be kickstarted if the login is enabled.
curl http://foreman/unattended/provision?spoof=192.168.1.14 <html><body>You are being <a href="http://foreman/users/login">redirected</a>.</body></html
It works if I disable login in settings.yaml ( ":login: false") . (both method curl the kickstart and install new server )
Updated by Ohad Levy almost 13 years ago
- Status changed from New to Feedback
- Assignee deleted (
Ohad Levy)
normally, when a server request the kickstart (not using the spoof option) this should work.
your servers should not be using spoof, as using spoof avoiding activating some options (such as puppet certificate cleanup and generation).
Updated by Peter Velas almost 13 years ago
So I checked source codes and its now clear. Its just bad misinterpretation from my side.
But at least documentation should be more descriptive, because not everyone can consult foreman source...
You should close this ticket.
Thanks a lot for your time.
Updated by Benjamin Papillon over 12 years ago
- Status changed from Feedback to Closed
- Target version set to Bug scrub
Closing the ticket as opener request.
What exactly do you want to see in the documentation?