Bug #9410
closedFinish script should try connect to hostname when IP address is empty
Description
In non-DHCP deployments finish script ssh connection only tries to connect to provisioning IP, but when empty, it could also try to connect to a hostname, if set for the provisioning interface.
Updated by The Foreman Bot almost 10 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2171 added
- Pull request deleted (
)
Updated by Marek Hulán almost 10 years ago
What is the use case for this? If we don't know the IP before the host is provisioned and there's no DHCP, then the IP must be hardcoded in the image right? So we know the IP... If there's some valid use case to use DNS for obtaining the IP, then I think it should set the IP of host when the domain is selected (similar to what we do for subnet) rather than trying to auto-guess during connecting. That would be more safe, user could review what IP he or she is trying to run finish script on.
Updated by Lukas Zapletal almost 10 years ago
- Status changed from Ready For Testing to Rejected
- Priority changed from Normal to Low
There was a request on the list for support of manually assigned DNS hostnames. The use case is IMHO incorrect configuration/deployment. I agree this is not clean. Closing.
Updated by Dominic Cleal over 7 years ago
- Related to Feature #18765: Use hostname instead IP address for finish script added