Bug #14365
closedhost-collection create|update => update commands to support host arguments
Description
The host-collection 'create' and 'update' commands do not currently allow a user to provide host inputs. In past releases, the user could specify the content-hosts as part of these commands; therefore, we should retain that capability post-host-unification.
The following are a few examples that should be supported:
hammer> host-collection create --organization-id 1 --name with-hosts --host-ids 1
Host collection created
hammer> host-collection create --organization-id 1 --name with-hosts-by-name --hosts "rhel7-client.test"
Host collection created
hammer> host-collection update --id 4 --host-ids 1
Host collection updated
hammer> host-collection update --id 5 --hosts 'rhel7-client.test'
Host collection updated
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/hammer-cli-katello/pull/372 added
Updated by Brad Buckingham over 8 years ago
- Bugzilla link changed from 1321129 to 1317674
Updated by Brad Buckingham over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-katello|b81eaef2ec604ed289b3596fd346a1a748e2d382.
Updated by Eric Helms over 8 years ago
- Translation missing: en.field_release set to 86