2.39. hammer hostgroup


操作主机组

Usage:
    hammer hostgroup [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 ansible-roles                 Manage Ansible roles on a hostgroup
 create                        Create a host group
 delete, destroy               Delete a host group
 delete-parameter              Delete parameter for a hostgroup
 info, show                    Show a host group
 list, index                   List all host groups
 puppet-classes                List all Puppet classes
 rebuild-config                Rebuild orchestration config
 sc-params                     List all smart class parameters
 set-parameter                 Create or update parameter for a hostgroup
 update                        Update a host group

Options:
 -h, --help                    Print help

2.39.1. hammer hostgroup ansible-roles

管理主机组上的 Ansible 角色

Usage:
    hammer hostgroup ansible-roles [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 assign                        Assigns Ansible roles to a hostgroup
 list, index                   List all Ansible roles for a hostgroup
 play                          Runs all Ansible roles on a hostgroup

Options:
 -h, --help                    Print help

2.39.1.1. hammer hostgroup ansible-roles 分配

将 Ansible 角色分配给一个主机组

Usage:
    hammer hostgroup ansible-roles assign [OPTIONS]

Options:
 --ansible-role-ids ANSIBLE_ROLE_IDS     Ansible roles to assign to a hostgroup
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                         JSON is acceptable and preferred way for complex parameters
 --ansible-roles ANSIBLE_ROLE_NAMES      Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                         JSON is acceptable and preferred way for complex parameters
 --id ID
 --location LOCATION_NAME                Set the current location context for the request
 --location-id LOCATION_ID               Set the current location context for the request
 --location-title LOCATION_TITLE         Set the current location context for the request
 --name NAME                             Hostgroup name
 --organization ORGANIZATION_NAME        Set the current organization context for the request
 --organization-id ORGANIZATION_ID       Set the current organization context for the request
 --organization-title ORGANIZATION_TITLE Set the current organization context for the request
 --title TITLE                           Hostgroup title
 -h, --help                              Print help

2.39.1.2. hammer hostgroup ansible-roles list

列出 hostgroup 的所有 Ansible 角色

Usage:
    hammer hostgroup ansible-roles <list|index> [OPTIONS]

Options:
 --fields FIELDS                         Show specified fields or predefined field sets only. (See below)
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                         JSON is acceptable and preferred way for complex parameters
 --id ID
 --location LOCATION_NAME                Set the current location context for the request
 --location-id LOCATION_ID               Set the current location context for the request
 --location-title LOCATION_TITLE         Set the current location context for the request
 --name NAME                             Hostgroup name
 --organization ORGANIZATION_NAME        Set the current organization context for the request
 --organization-id ORGANIZATION_ID       Set the current organization context for the request
 --organization-title ORGANIZATION_TITLE Set the current organization context for the request
 --title TITLE                           Hostgroup title
 -h, --help                              Print help

Predefined field sets:
  ------------|-----|---------|-----
  FIELDS      | ALL | DEFAULT | THIN
  ------------|-----|---------|-----
  Id          | x   | x       | x
  Name        | x   | x       | x
  Imported at | x   | x       |
  ------------|-----|---------|-----

2.39.1.3. hammer hostgroup ansible-roles play

在主机组上运行所有 Ansible 角色

Usage:
    hammer hostgroup ansible-roles play [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Set the current location context for the request
 --location-id LOCATION_ID               Set the current location context for the request
 --location-title LOCATION_TITLE         Set the current location context for the request
 --name NAME                             Hostgroup name
 --organization ORGANIZATION_NAME        Set the current organization context for the request
 --organization-id ORGANIZATION_ID       Set the current organization context for the request
 --organization-title ORGANIZATION_TITLE Set the current organization context for the request
 --title TITLE                           Hostgroup title
 -h, --help                              Print help

2.39.2. hammer hostgroup create

创建主机组

Usage:
    hammer hostgroup create [OPTIONS]

Options:
 --ansible-role-ids ANSIBLE_ROLE_IDS                       IDs of associated ansible roles
                                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                           JSON is acceptable and preferred way for complex parameters
 --ansible-roles ANSIBLE_ROLE_NAMES                        Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                           JSON is acceptable and preferred way for complex parameters
 --architecture ARCHITECTURE_NAME                          Architecture name
 --architecture-id ARCHITECTURE_ID                         Architecture ID
 --ask-root-password, --ask-root-pass ASK_ROOT_PW          (--ask-root-pass is deprecated: Use --ask-root-password instead)
                                                           One of true/false, yes/no, 1/0.
 --compute-profile COMPUTE_PROFILE_NAME                    Compute profile name
 --compute-profile-id COMPUTE_PROFILE_ID                   Compute profile ID
 --compute-resource COMPUTE_RESOURCE_NAME                  Compute resource name
 --compute-resource-id COMPUTE_RESOURCE_ID                 Compute resource ID
 --config-group-ids CONFIG_GROUP_IDS                       IDs of associated config groups
                                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                           JSON is acceptable and preferred way for complex parameters
 --config-groups CONFIG_GROUP_NAMES                        Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                           JSON is acceptable and preferred way for complex parameters
 --content-source CONTENT_SOURCE_NAME                      Content Source name
 --content-source-id CONTENT_SOURCE_ID                     Content source ID
 --content-view CONTENT_VIEW_NAME                          Name to search by
 --content-view-id CONTENT_VIEW_ID                         Content view ID
 --description DESCRIPTION                                 Host group description
 --domain DOMAIN_NAME                                      Domain name
 --domain-id DOMAIN_ID                                     Domain ID
 --environment ENVIRONMENT_NAME                            Environment name (--environment is deprecated: Use --puppet-environment[-id] instead)
 --environment-id ENVIRONMENT_ID                           (--environment-id is deprecated: Use --puppet-environment[-id] instead)
 --group-parameters-attributes GROUP_PARAMETERS_ATTRIBUTES Array of parameters
                                                           Comma separated list of values defined by a schema. See Option details section below.
                                                           JSON is acceptable and preferred way for complex parameters
 --kickstart-repository REPOSITORY_NAME                    Kickstart repository name
 --kickstart-repository-id KICKSTART_REPOSITORY_ID         Kickstart repository ID
 --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME        Name to search by
 --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID       Lifecycle environment ID
 --location LOCATION_NAME                                  Set the current location context for the request
 --location-id LOCATION_ID                                 Set the current location context for the request
 --location-ids LOCATION_IDS                               REPLACE locations with given ids
                                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                           JSON is acceptable and preferred way for complex parameters
 --location-title LOCATION_TITLE                           Set the current location context for the request
 --location-titles LOCATION_TITLES                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                           JSON is acceptable and preferred way for complex parameters
 --locations LOCATION_NAMES                                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                           JSON is acceptable and preferred way for complex parameters
 --medium MEDIUM_NAME                                      Medium name
 --medium-id MEDIUM_ID                                     Media ID
 --name NAME                                               Name of the host group
 --openscap-proxy-id OPENSCAP_PROXY_ID                     ID of OpenSCAP Capsule
 --operatingsystem OPERATINGSYSTEM_TITLE                   Operating system title
 --operatingsystem-id OPERATINGSYSTEM_ID                   Operating system ID
 --organization ORGANIZATION_NAME                          Set the current organization context for the request
 --organization-id ORGANIZATION_ID                         Set the current organization context for the request
 --organization-ids ORGANIZATION_IDS                       REPLACE organizations with given ids.
                                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                           JSON is acceptable and preferred way for complex parameters
 --organization-title ORGANIZATION_TITLE                   Set the current organization context for the request
 --organization-titles ORGANIZATION_TITLES                 Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                           JSON is acceptable and preferred way for complex parameters
 --organizations ORGANIZATION_NAMES                        Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                           JSON is acceptable and preferred way for complex parameters
 --parent PARENT_NAME                                      Name of parent hostgroup
 --parent-id PARENT_ID                                     Parent ID of the host group
 --partition-table PARTITION_TABLE_NAME                    Partition table name
 --partition-table-id PARTITION_TABLE_ID
 --puppet-ca-proxy PUPPET_CA_PROXY_NAME                    Name of puppet CA proxy
 --puppet-ca-proxy-id PUPPET_CA_PROXY_ID                   Puppet CA Capsule ID
 --puppet-class-ids PUPPETCLASS_IDS                        List of puppetclass ids
                                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                           JSON is acceptable and preferred way for complex parameters
 --puppet-classes PUPPET_CLASS_NAMES                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                           JSON is acceptable and preferred way for complex parameters
 --puppet-environment PUPPET_ENVIRONMENT_NAME              Puppet environment name
 --puppet-environment-id PUPPET_ENVIRONMENT_ID
 --puppet-proxy PUPPET_PROXY_NAME                          Name of puppet proxy
 --puppet-proxy-id PUPPET_PROXY_ID                         Puppet Capsule ID
 --pxe-loader PXE_LOADER                                   DHCP filename option (Grub2/PXELinux by default)
                                                           Possible value(s): 'None', 'PXELinux BIOS', 'PXELinux UEFI', 'Grub UEFI', 'Grub2 BIOS', 'Grub2 ELF', 'Grub2 UEFI', 'Grub2 UEFI SecureBoot', 'Grub2 UEFI HTTP', 'Grub2 UEFI HTTPS', 'Grub2 UEFI HTTPS SecureBoot', 'iPXE Embedded', 'iPXE UEFI HTTP', 'iPXE Chain BIOS', 'iPXE Chain UEFI'
 --query-organization ORGANIZATION_NAME                    Organization name to search by
 --query-organization-id ORGANIZATION_ID                   Organization ID to search by
 --query-organization-label ORGANIZATION_LABEL             Organization label to search by
 --realm REALM_NAME                                        Name to search by
 --realm-id REALM_ID                                       Realm ID
 --root-password, --root-pass ROOT_PASSWORD                Root password (--root-pass is deprecated: Use --root-password instead)
 --subnet SUBNET_NAME                                      Subnet name
 --subnet-id SUBNET_ID                                     Subnet ID
 --subnet6 SUBNET6_NAME                                    Subnet IPv6 name
 --subnet6-id SUBNET6_ID                                   Subnet IPv6 ID
 -h, --help                                                Print help

Option details:
  Following parameters accept format defined by its schema (bold are required; <> contain acceptable type; [] contain acceptable value):

  --group-parameters-attributes  "name=<string>\,value=<string>\,parameter_type=[string|boolean|integer|real|array|hash|yaml|json]\,hidden_value=[true|false|1|0], ... "

2.39.3. hammer hostgroup delete

删除主机组

Usage:
    hammer hostgroup <delete|destroy> [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Set the current location context for the request
 --location-id LOCATION_ID               Set the current location context for the request
 --location-title LOCATION_TITLE         Set the current location context for the request
 --name NAME                             Hostgroup name
 --organization ORGANIZATION_NAME        Set the current organization context for the request
 --organization-id ORGANIZATION_ID       Set the current organization context for the request
 --organization-title ORGANIZATION_TITLE Set the current organization context for the request
 --title TITLE                           Hostgroup title
 -h, --help                              Print help

2.39.4. hammer hostgroup delete-parameter

hostgroup 的 delete 参数

Usage:
    hammer hostgroup delete-parameter [OPTIONS]

Options:
 --hostgroup HOSTGROUP_NAME        Hostgroup name
 --hostgroup-id HOSTGROUP_ID
 --hostgroup-title HOSTGROUP_TITLE Hostgroup title
 --name NAME                       Parameter name
 -h, --help                        Print help

2.39.5. hammer hostgroup info

显示主机组

Usage:
    hammer hostgroup <info|show> [OPTIONS]

Options:
 --fields FIELDS                                 Show specified fields or predefined field sets only. (See below)
                                                 Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                 JSON is acceptable and preferred way for complex parameters
 --id ID
 --location LOCATION_NAME                        Set the current location context for the request
 --location-id LOCATION_ID                       Set the current location context for the request
 --location-title LOCATION_TITLE                 Set the current location context for the request
 --name NAME                                     Hostgroup name
 --organization ORGANIZATION_NAME                Set the current organization context for the request
 --organization-id ORGANIZATION_ID               Set the current organization context for the request
 --organization-title ORGANIZATION_TITLE         Set the current organization context for the request
 --show-hidden-parameters SHOW_HIDDEN_PARAMETERS Display hidden parameter values
                                                 One of true/false, yes/no, 1/0.
 --title TITLE                                   Hostgroup title
 -h, --help                                      Print help

Predefined field sets:
  ----------------------------------|-----|---------|-----
  FIELDS                            | ALL | DEFAULT | THIN
  ----------------------------------|-----|---------|-----
  Id                                | x   | x       | x
  Name                              | x   | x       | x
  Title                             | x   | x       | x
  Puppet environment                | x   | x       |
  Model                             | x   | x       |
  Description                       | x   | x       |
  Parent                            | x   | x       |
  Puppet ca proxy                   | x   | x       |
  Puppet master proxy               | x   | x       |
  Compute profile                   | x   | x       |
  Compute resource                  | x   | x       |
  Network/subnet ipv4               | x   | x       |
  Network/subnet ipv6               | x   | x       |
  Network/realm                     | x   | x       |
  Network/domain                    | x   | x       |
  Operating system/architecture     | x   | x       |
  Operating system/operating system | x   | x       |
  Operating system/medium           | x   | x       |
  Operating system/partition table  | x   | x       |
  Operating system/pxe loader       | x   | x       |
  Puppetclasses/                    | x   | x       |
  Parameters/                       | x   | x       |
  Locations/                        | x   | x       |
  Organizations/                    | x   | x       |
  Openscap proxy                    | x   | x       |
  Content view/id                   | x   | x       |
  Content view/name                 | x   | x       |
  Lifecycle environment/id          | x   | x       |
  Lifecycle environment/name        | x   | x       |
  Content source/id                 | x   | x       |
  Content source/name               | x   | x       |
  Kickstart repository/id           | x   | x       |
  Kickstart repository/name         | x   | x       |
  ----------------------------------|-----|---------|-----

2.39.6. hammer hostgroup list

列出所有主机组

Usage:
    hammer hostgroup <list|index> [OPTIONS]

Options:
 --fields FIELDS                         Show specified fields or predefined field sets only. (See below)
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                         JSON is acceptable and preferred way for complex parameters
 --location LOCATION_NAME                Set the current location context for the request
 --location-id LOCATION_ID               Scope by locations
 --location-title LOCATION_TITLE         Set the current location context for the request
 --order ORDER                           Sort field and order, eg. ‘id DESC’
 --organization ORGANIZATION_NAME        Set the current organization context for the request
 --organization-id ORGANIZATION_ID       Scope by organizations
 --organization-title ORGANIZATION_TITLE Set the current organization context for the request
 --page PAGE                             Page number, starting at 1
 --per-page PER_PAGE                     Number of results per page to return, 'all' to return all results
 --puppet-class PUPPET_CLASS_NAME        Puppet class name
 --puppet-class-id PUPPET_CLASS_ID
 --search SEARCH                         Filter results
 -h, --help                              Print help

Predefined field sets:
  -------------------|-----|---------|-----
  FIELDS             | ALL | DEFAULT | THIN
  -------------------|-----|---------|-----
  Id                 | x   | x       | x
  Name               | x   | x       | x
  Title              | x   | x       | x
  Operating system   | x   | x       |
  Puppet environment | x   | x       |
  Model              | x   | x       |
  -------------------|-----|---------|-----

Search / Order fields:
  architecture        string
  class               string
  config_group        string
  environment         string
  host                string
  id                  integer
  label               string
  location            string
  location_id         integer
  medium              string
  name                string
  organization        string
  organization_id     integer
  os                  string
  os_description      string
  os_id               integer
  os_major            string
  os_minor            string
  os_title            string
  params              string
  template            string
  title               string

2.39.7. hammer hostgroup puppet-classes

列出所有 Puppet 类

Usage:
    hammer hostgroup puppet-classes [OPTIONS]

Options:
 --fields FIELDS                   Show specified fields or predefined field sets only. (See below)
                                   Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                   JSON is acceptable and preferred way for complex parameters
 --hostgroup HOSTGROUP_NAME        Hostgroup name
 --hostgroup-id HOSTGROUP_ID       ID of host group
 --hostgroup-title HOSTGROUP_TITLE Hostgroup title
 --location-id LOCATION_ID         Set the current location context for the request
 --order ORDER                     Sort field and order, eg. ‘id DESC’
 --organization-id ORGANIZATION_ID Set the current organization context for the request
 --page PAGE                       Page number, starting at 1
 --per-page PER_PAGE               Number of results per page to return, 'all' to return all results
 --search SEARCH                   Filter results
 -h, --help                        Print help

Predefined field sets:
  -------|-----|---------|-----
  FIELDS | ALL | DEFAULT | THIN
  -------|-----|---------|-----
  Id     | x   | x       | x
  Name   | x   | x       | x
  -------|-----|---------|-----

Search / Order fields:
  config_group        string
  environment         string
  host                string
  hostgroup           string
  key                 string
  location            string
  name                string
  organization        string

2.39.8. hammer hostgroup rebuild-config

重建编配配置

Usage:
    hammer hostgroup rebuild-config [OPTIONS]

Options:
 --children-hosts CHILDREN_HOSTS         Operate on child hostgroup hosts
                                         One of true/false, yes/no, 1/0.
 --id ID
 --location LOCATION_NAME                Set the current location context for the request
 --location-id LOCATION_ID               Set the current location context for the request
 --location-title LOCATION_TITLE         Set the current location context for the request
 --name NAME                             Hostgroup name
 --only ONLY                             Limit rebuild steps, valid steps are DHCP, DNS, TFTP, Content_Host_Status, Refresh_Content_Host_Status
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                         JSON is acceptable and preferred way for complex parameters
 --organization ORGANIZATION_NAME        Set the current organization context for the request
 --organization-id ORGANIZATION_ID       Set the current organization context for the request
 --organization-title ORGANIZATION_TITLE Set the current organization context for the request
 --title TITLE                           Hostgroup title
 -h, --help                              Print help

2.39.9. hammer hostgroup sc-params

列出所有智能类参数

Usage:
    hammer hostgroup sc-params [OPTIONS]

Options:
 --fields FIELDS                         Show specified fields or predefined field sets only. (See below)
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                         JSON is acceptable and preferred way for complex parameters
 --hostgroup HOSTGROUP_NAME              Hostgroup name
 --hostgroup-id HOSTGROUP_ID
 --hostgroup-title HOSTGROUP_TITLE       Hostgroup title
 --location LOCATION_NAME                Set the current location context for the request
 --location-id LOCATION_ID               Set the current location context for the request
 --location-title LOCATION_TITLE         Set the current location context for the request
 --order ORDER                           Sort field and order, eg. ‘id DESC’
 --organization ORGANIZATION_NAME        Set the current organization context for the request
 --organization-id ORGANIZATION_ID       Set the current organization context for the request
 --organization-title ORGANIZATION_TITLE Set the current organization context for the request
 --page PAGE                             Page number, starting at 1
 --per-page PER_PAGE                     Number of results per page to return, 'all' to return all results
 --search SEARCH                         Filter results
 --show-hidden SHOW_HIDDEN               Display hidden values
                                         One of true/false, yes/no, 1/0.
 -h, --help                              Print help

Predefined field sets:
  --------------|-----|--------
  FIELDS        | ALL | DEFAULT
  --------------|-----|--------
  Id            | x   | x
  Parameter     | x   | x
  Default value | x   | x
  Override      | x   | x
  Puppet class  | x   | x
  Class id      | x   | x
  --------------|-----|--------

Search / Order fields:
  avoid_duplicates    Values: true, false
  environment         string
  key                 string
  merge_default       Values: true, false
  merge_overrides     Values: true, false
  override            Values: true, false
  parameter           string
  puppetclass         string
  puppetclass_name    string

2.39.10. hammer hostgroup set-parameter

为 hostgroup 创建或更新参数

Usage:
    hammer hostgroup set-parameter [OPTIONS]

Options:
 --hidden-value HIDDEN_VALUE       Should the value be hidden
                                   One of true/false, yes/no, 1/0.
 --hostgroup HOSTGROUP_NAME        Hostgroup name
 --hostgroup-id HOSTGROUP_ID
 --hostgroup-title HOSTGROUP_TITLE Hostgroup title
 --name NAME                       Parameter name
 --parameter-type PARAMETER_TYPE   Type of the parameter
                                   Possible value(s): 'string', 'boolean', 'integer', 'real', 'array', 'hash', 'yaml', 'json'
                                   Default: "string"
 --value VALUE                     Parameter value
 -h, --help                        Print help

2.39.11. hammer hostgroup 更新

更新主机组

Usage:
    hammer hostgroup update [OPTIONS]

Options:
 --ansible-role-ids ANSIBLE_ROLE_IDS                       IDs of associated ansible roles
                                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                           JSON is acceptable and preferred way for complex parameters
 --ansible-roles ANSIBLE_ROLE_NAMES                        Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                           JSON is acceptable and preferred way for complex parameters
 --architecture ARCHITECTURE_NAME                          Architecture name
 --architecture-id ARCHITECTURE_ID                         Architecture ID
 --ask-root-password, --ask-root-pass ASK_ROOT_PW          (--ask-root-pass is deprecated: Use --ask-root-password instead)
                                                           One of true/false, yes/no, 1/0.
 --compute-profile COMPUTE_PROFILE_NAME                    Compute profile name
 --compute-profile-id COMPUTE_PROFILE_ID                   Compute profile ID
 --compute-resource COMPUTE_RESOURCE_NAME                  Compute resource name
 --compute-resource-id COMPUTE_RESOURCE_ID                 Compute resource ID
 --config-group-ids CONFIG_GROUP_IDS                       IDs of associated config groups
                                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                           JSON is acceptable and preferred way for complex parameters
 --config-groups CONFIG_GROUP_NAMES                        Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                           JSON is acceptable and preferred way for complex parameters
 --content-source CONTENT_SOURCE_NAME                      Content Source name
 --content-source-id CONTENT_SOURCE_ID                     Content source ID
 --content-view CONTENT_VIEW_NAME                          Name to search by
 --content-view-id CONTENT_VIEW_ID                         Content view ID
 --description DESCRIPTION                                 Host group description
 --domain DOMAIN_NAME                                      Domain name
 --domain-id DOMAIN_ID                                     Domain ID
 --environment ENVIRONMENT_NAME                            Environment name (--environment is deprecated: Use --puppet-environment[-id] instead)
 --environment-id ENVIRONMENT_ID                           (--environment-id is deprecated: Use --puppet-environment[-id] instead)
 --group-parameters-attributes GROUP_PARAMETERS_ATTRIBUTES Array of parameters
                                                           Comma separated list of values defined by a schema. See Option details section below.
                                                           JSON is acceptable and preferred way for complex parameters
 --id ID
 --kickstart-repository REPOSITORY_NAME                    Kickstart repository name
 --kickstart-repository-id KICKSTART_REPOSITORY_ID         Kickstart repository ID
 --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME        Name to search by
 --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID       Lifecycle environment ID
 --location LOCATION_NAME                                  Set the current location context for the request
 --location-id LOCATION_ID                                 Set the current location context for the request
 --location-ids LOCATION_IDS                               REPLACE locations with given ids
                                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                           JSON is acceptable and preferred way for complex parameters
 --location-title LOCATION_TITLE                           Set the current location context for the request
 --location-titles LOCATION_TITLES                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                           JSON is acceptable and preferred way for complex parameters
 --locations LOCATION_NAMES                                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                           JSON is acceptable and preferred way for complex parameters
 --medium MEDIUM_NAME                                      Medium name
 --medium-id MEDIUM_ID                                     Media ID
 --name NAME                                               Hostgroup name
 --new-name NEW_NAME                                       Name of the host group
 --openscap-proxy-id OPENSCAP_PROXY_ID                     ID of OpenSCAP Capsule
 --operatingsystem OPERATINGSYSTEM_TITLE                   Operating system title
 --operatingsystem-id OPERATINGSYSTEM_ID                   Operating system ID
 --organization ORGANIZATION_NAME                          Set the current organization context for the request
 --organization-id ORGANIZATION_ID                         Set the current organization context for the request
 --organization-ids ORGANIZATION_IDS                       REPLACE organizations with given ids.
                                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                           JSON is acceptable and preferred way for complex parameters
 --organization-title ORGANIZATION_TITLE                   Set the current organization context for the request
 --organization-titles ORGANIZATION_TITLES                 Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                           JSON is acceptable and preferred way for complex parameters
 --organizations ORGANIZATION_NAMES                        Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                           JSON is acceptable and preferred way for complex parameters
 --parent PARENT_NAME                                      Name of parent hostgroup
 --parent-id PARENT_ID                                     Parent ID of the host group
 --partition-table PARTITION_TABLE_NAME                    Partition table name
 --partition-table-id PARTITION_TABLE_ID
 --puppet-ca-proxy PUPPET_CA_PROXY_NAME                    Name of puppet CA proxy
 --puppet-ca-proxy-id PUPPET_CA_PROXY_ID                   Puppet CA Capsule ID
 --puppet-class-ids PUPPETCLASS_IDS                        List of puppetclass ids
                                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                           JSON is acceptable and preferred way for complex parameters
 --puppet-classes PUPPET_CLASS_NAMES                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                           JSON is acceptable and preferred way for complex parameters
 --puppet-environment PUPPET_ENVIRONMENT_NAME              Puppet environment name
 --puppet-environment-id PUPPET_ENVIRONMENT_ID
 --puppet-proxy PUPPET_PROXY_NAME                          Name of puppet proxy
 --puppet-proxy-id PUPPET_PROXY_ID                         Puppet Capsule ID
 --pxe-loader PXE_LOADER                                   DHCP filename option (Grub2/PXELinux by default)
                                                           Possible value(s): 'None', 'PXELinux BIOS', 'PXELinux UEFI', 'Grub UEFI', 'Grub2 BIOS', 'Grub2 ELF', 'Grub2 UEFI', 'Grub2 UEFI SecureBoot', 'Grub2 UEFI HTTP', 'Grub2 UEFI HTTPS', 'Grub2 UEFI HTTPS SecureBoot', 'iPXE Embedded', 'iPXE UEFI HTTP', 'iPXE Chain BIOS', 'iPXE Chain UEFI'
 --query-organization ORGANIZATION_NAME                    Organization name to search by
 --query-organization-id ORGANIZATION_ID                   Organization ID to search by
 --query-organization-label ORGANIZATION_LABEL             Organization label to search by
 --realm REALM_NAME                                        Name to search by
 --realm-id REALM_ID                                       Realm ID
 --root-password, --root-pass ROOT_PASSWORD                Root password (--root-pass is deprecated: Use --root-password instead)
 --subnet SUBNET_NAME                                      Subnet name
 --subnet-id SUBNET_ID                                     Subnet ID
 --subnet6 SUBNET6_NAME                                    Subnet IPv6 name
 --subnet6-id SUBNET6_ID                                   Subnet IPv6 ID
 --title TITLE                                             Hostgroup title
 -h, --help                                                Print help

Option details:
  Following parameters accept format defined by its schema (bold are required; <> contain acceptable type; [] contain acceptable value):

  --group-parameters-attributes  "name=<string>\,value=<string>\,parameter_type=[string|boolean|integer|real|array|hash|yaml|json]\,hidden_value=[true|false|1|0], ... "
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.