検索

2.38. hammer host-registration

download PDF

ホストの登録

Usage:
    hammer host-registration [OPTIONS] SUBCOMMAND [ARG] ...

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

Subcommands:
 generate-command              Generate global registration command

Options:
 -h, --help                    Print help

2.38.1. hammer host-registration generate-command

グローバル登録コマンドを生成します。

Usage:
    hammer host-registration generate-command [OPTIONS]

Options:
 --activation-key ACTIVATION_KEY                         Activation key for subscription-manager client, required for CentOS and Red Hat Enterprise Linux. For multiple keys use `activation_keys` param instead.
 --activation-keys ACTIVATION_KEYS                       Activation keys for subscription-manager client, required for CentOS and Red Hat Enterprise Linux. Required only if host group has no activation keys.
                                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                         JSON is acceptable and preferred way for complex parameters
 --force FORCE                                           Clear any previous registration and run subscription-manager with –force.
                                                         One of true/false, yes/no, 1/0.
 --hostgroup HOSTGROUP_NAME                              Hostgroup name
 --hostgroup-id HOSTGROUP_ID                             ID of the Host group to register the host in
 --hostgroup-title HOSTGROUP_TITLE                       Hostgroup title
 --ignore-subman-errors IGNORE_SUBMAN_ERRORS             Ignore subscription-manager errors for `subscription-manager register` command
                                                         One of true/false, yes/no, 1/0.
 --insecure INSECURE                                     Enable insecure argument for the initial curl
                                                         One of true/false, yes/no, 1/0.
 --jwt-expiration JWT_EXPIRATION                         Expiration of the authorization token (in hours)
 --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME      Name to search by
 --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID     Lifecycle environment for the host.
 --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
 --operatingsystem OPERATINGSYSTEM_TITLE                 Operating system title
 --operatingsystem-id OPERATINGSYSTEM_ID                 ID of the Operating System to register the host in
 --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
 --packages PACKAGES                                     Packages to install on the host when registered. Can be set by `host_packages` parameter. Example: `pkg1 pkg2`
 --remote-execution-interface REMOTE_EXECUTION_INTERFACE Identifier of the Host interface for Remote execution
 --repo REPO                                             Repository URL / details, for example for Debian OS family: 'deb deb.example.com/ buster 1.0', for Red Hat OS family: 'yum.theforeman.org/client/latest/el8/x86_64/'
 --repo-gpg-key-url REPO_GPG_KEY_URL                     URL of the GPG key for the repository
 --setup-insights SETUP_INSIGHTS                         Set 'host_registration_insights' parameter for the host. If it is set to true, insights client will be installed and registered on Red Hat family operating systems
                                                         One of true/false, yes/no, 1/0.
 --setup-remote-execution SETUP_REMOTE_EXECUTION         Set 'host_registration_remote_execution' parameter for the host. If it is set to true, SSH keys will be installed on the host
                                                         One of true/false, yes/no, 1/0.
 --smart-proxy SMART_PROXY_NAME                          Name to search by
 --smart-proxy-id SMART_PROXY_ID                         ID of the Capsule
 --update-packages UPDATE_PACKAGES                       Update all packages on the host
                                                         One of true/false, yes/no, 1/0.
 -h, --help                                              Print help
Red Hat logoGithubRedditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

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

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

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

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

会社概要

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

© 2024 Red Hat, Inc.