Project

General

Profile

Actions

Bug #14365

closed

host-collection create|update => update commands to support host arguments

Added by Brad Buckingham almost 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Hammer
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

Actions

Also available in: Atom PDF