Actions
Bug #11279
closedhammer cli problems with --owner when setting owner-type to Usergroup
Difficulty:
Triaged:
Yes
Team Backlog:
Description
I'm trying to set all hosts to the owner-type Usergroup and a specifiek name usergroup with the following command:hammer host update --name host01 --owner-type Usergroup --owner foremanAdmins
This doesn't work because it tries to lookup foremanAdmins as a user which ofcourse doesn't exist.
Looking up the ID of foremanAdmins and change the command to:hammer host update --name host01 --owner-type Usergroup --owner-id 4
makes it work
Files
Actions