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
Updated by Dominic Cleal almost 10 years ago
- Project changed from Foreman to Hammer CLI
- Category set to Foreman commands (obsolete)
Updated by Tomáš Strachota about 7 years ago
- Category changed from Foreman commands (obsolete) to Hosts
Updated by yifat makias over 5 years ago
- Status changed from New to Assigned
- Assignee set to yifat makias
Updated by The Foreman Bot over 5 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/hammer-cli-foreman/pull/501 added
Actions