Project

General

Profile

Actions

Bug #29274

closed

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

Added by Yuri Moens about 5 years ago. Updated about 5 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

Also available in: Atom PDF