hammer cli problems with --owner when setting owner-type to Usergroup
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
#9 Updated by Anonymous almost 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-foreman|b0d33f377b6b2248e79e7845454ae07e5c01e7be.