이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 44. host-registration


Host Registration

Usage

# hammer host-registration [OPTIONS] SUBCOMMAND [ARG] ...
Copy to Clipboard Toggle word wrap

Options

  • -h, --help – Print help

44.1. host-registration generate-command

Generate global registration command

Usage

# hammer host-registration generate-command [OPTIONS]
Copy to Clipboard Toggle word wrap

Options

  • --activation-key VALUE – Activation key for subscription-manager client, required for CentOS and Red Hat Enterprise Linux. For multiple keys use activation_keys param instead.
  • --activation-keys LIST – Activation keys for subscription-manager client, required for CentOS and Red Hat Enterprise Linux. Required only if host group has no activation keys or if you do not provide a host group.
  • --download-utility ENUM – The download utility to use during host registration Possible value(s): curl, wget
  • --force BOOLEAN – Clear any previous registration and run subscription-manager with –force.
  • --hostgroup VALUE – Hostgroup name
  • --hostgroup-id NUMBER – ID of the Host group to register the host in
  • --hostgroup-title VALUE – Hostgroup title
  • --ignore-subman-errors BOOLEAN – Ignore subscription-manager errors for subscription-manager register command
  • --insecure BOOLEAN – Enable insecure argument for the initial curl/wget
  • --jwt-expiration NUMBER – Expiration of the authorization token (in hours), 0 means unlimited.
  • --location VALUE – Set the current location context for the request
  • --location-id NUMBER – Set the current location context for the request
  • --location-title VALUE – Set the current location context for the request
  • --operatingsystem VALUE – Operating system title
  • --operatingsystem-id NUMBER – ID of the Operating System to register the host in. Operating system must have a host_init_config template assigned
  • --organization VALUE – Set the current organization context for the request
  • --organization-id NUMBER – Set the current organization context for the request
  • --organization-title VALUE – Set the current organization context for the request
  • --packages VALUE – Packages to install on the host when registered. Can be set by host_packages parameter, example: pkg1 pkg2
  • --remote-execution-interface VALUE – Identifier of the Host interface for Remote execution
  • --repo VALUE – DEPRECATED, use the repo_data param instead.
  • --repo-data SCHEMA – Array with repository URL and corresponding GPG key URL
  • --repo-gpg-key-url VALUE – DEPRECATED, use the repo_data param instead.
  • --setup-container-registry-certs BOOLEAN Use container certificates for container registry authentication. If it is set to true, container registry certificates will be installed on the host
  • --setup-insights BOOLEAN – Set host_registration_insights parameter for the host. If it is set to true, Red Hat Lightspeed client will be installed and registered on Red Hat family operating systems
  • --setup-remote-execution BOOLEAN – Set host_registration_remote_execution parameter for the host. If it is set to true, SSH keys will be installed on the host
  • --setup-remote-execution-pull BOOLEAN – Set host_registration_remote_execution_pull parameter for the host. If it is set to true, pull provider client will be deployed on the host
  • --smart-proxy VALUE – Name to search by
  • --smart-proxy-id NUMBER – ID of the Capsule. This Capsule must have enabled both the Templates and Registration features
  • --update-packages BOOLEAN – Update all packages on the host
  • -h, --help – Print help

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

  • --repo-data – "repo=<string>,repo_gpg_key_url=<string>, …​ "
맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat