Problem:
I’m attempting to override the repository sets available to existing hosts via command line. This can be done via the GUI by navigating to Hosts > All Hosts > Host Name > Repository Sets, Expand the right menu, select Override to enabled / disabled.
Via the command line, I am running the command:
hammer host subscription content-override --content-label "Red_Hat_Enterprise_Linux_7_Server_-_Optional_RPMs_x86_64_7Server" --host testnode.domain.com --value 1 --override-name 'enabled'
This results in: ‘Updated content override.’ at the command line, but when checking the host via the GUI, the repository set is still disabled.
Expected outcome:
The repository set is enabled
Foreman and Proxy versions:
3.2.0
Foreman and Proxy plugin versions:
hammer (3.2.0)
- hammer_cli_foreman (3.2.0)
- hammer_cli_foreman_puppet (0.0.4)
- hammer_cli_foreman_remote_execution (unknown version)
- hammer_cli_foreman_tasks (unknown version)
- hammer_cli_katello (1.4.1)
Distribution and version:
CentOS Linux release 7.9.2009 (Core)
Other relevant data:
hammer host subscription content-override --content-label "Red_Hat_Enterprise_Linux_7_Server_-_Optional_RPMs_x86_64_7Server" --host testnode.domain.com --value 1 --override-name 'enabled'