Project

General

Profile

Actions

Bug #29274

closed

hammer os set-default-template doesn't set default template

Added by Yuri Moens about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
easy
Triaged:
Yes
Team Backlog:
Found in Releases:
In Kanboard:

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

Actions #1

Updated by Oleh Fedorenko about 4 years ago

  • Status changed from New to Assigned
  • Assignee set to Oleh Fedorenko
  • Difficulty set to easy
  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot about 4 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/508 added
Actions #3

Updated by The Foreman Bot about 4 years ago

  • Fixed in Releases hammer-cli-foreman-2.1.0 added
Actions #4

Updated by Oleh Fedorenko about 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Shira Maximov about 4 years ago

  • Fixed in Releases hammer-cli-foreman-2.0.2 added
Actions

Also available in: Atom PDF