Bug #32743
katello-change-hostname assumes answers file location
Status:
Closed
Priority:
Normal
Assignee:
Category:
RPMs
Target version:
Pull request:
Fixed in Releases:
Found in Releases:
Description
The right way to determine the answers file location is to read the scenario file and use the value for :answer_file. However, the script now assumes it's always ${scenario}-answers.yaml which can lead to incorrect behavior.
Associated revisions
History
#1
Updated by The Foreman Bot 12 months ago
- Assignee set to Ewoud Kohl van Wijngaarden
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman-packaging/pull/6759 added
#2
Updated by Ian Ballou 12 months ago
- Bugzilla link set to 1968608
#3
Updated by The Foreman Bot 12 months ago
- Fixed in Releases 3.0.0 added
#4
Updated by Ewoud Kohl van Wijngaarden 12 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman-packaging|de4d531a4ef4df0d31e0f3b0bc739828de273a68.
#5
Updated by The Foreman Bot 12 months ago
- Pull request https://github.com/theforeman/foreman-packaging/pull/6779 added
#6
Updated by Evgeni Golov 12 months ago
- Target version set to 2.5.1
#7
Updated by Evgeni Golov 12 months ago
- Fixed in Releases 2.5.1 added
Fixes #32743 - Correct scenario answers file
The script used to assume it's always ${scenario}-answers.yaml which can
lead to incorrect behavior. The right way to determine the answers file
location is to read the scenario file and use the value for
:answer_file.
It has some safeguard that it could at least determine the path.