検索

2.37.2. hammer hostgroup create

download PDF

ホストグループを作成します。

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], ... "
Red Hat logoGithubRedditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

© 2024 Red Hat, Inc.