need way to attach a subscription to a content host w/ hammer
hammer subscription attach --content-host-id $id --subscription-id $id -or- hammer content-host subscription --attach --subscription-id $id
Although subscriptions are normally added to content hosts by running subscription-manager directly on the host itself, there are cases where being able to do it via scripting w/ hammer is better.
This would move towards parity between hammer and the UI
This commit adds functionality for the following calls
hammer host subscription attach --subscription-id=1000 --quantity=333
hammer host subscription remove --subscription-id=1000 --host-id=1000
hammer host subscription auto-attach --host-id=1000
#11 Updated by Anonymous about 4 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-katello|14c967686b5ef466cd9f30f180cacd7db56507a5.