Bug #29274
closedhammer os set-default-template doesn't set default template
Description
I can't seem to set the default template of an operating system.
hammer os set-default-template --id 49 --provisioning-template-id 86
Could not set the os default template:
Template kind can't be blank
When I first set the default template in the WebUI, however, the command returns correctly.
hammer os set-default-template --id 49 --provisioning-template-id 86
[Template name] was set as default provision template.
Deleting also works as expected
hammer os delete-default-template --id 49 --type provision
Default template deleted.
But when I try to set it again it fails.
hammer os set-default-template --id 49 --provisioning-template-id 86
Could not set the os default template:
Template kind can't be blank
Updated by Oleh Fedorenko over 3 years ago
- Status changed from New to Assigned
- Assignee set to Oleh Fedorenko
- Difficulty set to easy
- Triaged changed from No to Yes
Updated by The Foreman Bot over 3 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/hammer-cli-foreman/pull/508 added
Updated by The Foreman Bot over 3 years ago
- Fixed in Releases hammer-cli-foreman-2.1.0 added
Updated by Oleh Fedorenko over 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-foreman|1c5c94e0c66b50c7fbdcdfeeaaf9d4e7c5167944.
Updated by Shira Maximov over 3 years ago
- Fixed in Releases hammer-cli-foreman-2.0.2 added