検索

第2章 参照

download PDF

本章では、Hammer の使用方法の説明をリストで紹介します。以下の使用方法は、Hammer の複数バージョンおよび、Satellite 6.12 向けにリリースされた Hammer のコンポーネントに対して最新の説明です。

2.1. hammer

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

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

Subcommands:
 activation-key                Manipulate activation keys
 admin                         Administrative server-side tasks
 ansible                       Manage foreman ansible
 architecture                  Manipulate architectures
 arf-report                    Manipulate compliance reports
 audit                         Search audit trails.
 auth                          Foreman connection login/logout
 auth-source                   Manipulate auth sources
 bookmark                      Manage bookmarks
 bootdisk                      Download boot disks
 capsule                       Manipulate capsule
 compute-profile               Manipulate compute profiles
 compute-resource              Manipulate compute resources
 config-report                 Browse and read reports
 content-credentials           Manipulate content credentials on the server
 content-export                Prepare content for export to a disconnected Katello
 content-import                Import content from an upstream archive.
 content-units                 Manipulate content units
 content-view                  Manipulate content views
 deb-package                   Manipulate deb packages
 defaults                      Defaults management
 discovery                     Manipulate discovered hosts.
 discovery-rule                Manipulate discovered rules.
 docker                        Manipulate docker content
 domain                        Manipulate domains
 erratum                       Manipulate errata
 export-templates              Export templates to a git repo or a directory on the server
 fact                          Search facts
 file                          Manipulate files
 filter                        Manage permission filters
 foreign-input-set             Manage foreign input sets
 full-help                     Print help for all hammer commands
 global-parameter              Manipulate global parameters
 host                          Manipulate hosts
 host-collection               Manipulate host collections
 host-registration             Host Registration
 hostgroup                     Manipulate hostgroups
 http-proxy                    Manipulate http proxies
 import-templates              Import templates from a git repo or a directory on the server
 job-invocation                Manage job invocations
 job-template                  Manage job templates
 lifecycle-environment         Manipulate lifecycle_environments on the server
 location                      Manipulate locations
 mail-notification             Manage mail notifications
 medium                        Manipulate installation media
 model                         Manipulate hardware models
 module-stream                 View Module Streams
 organization                  Manipulate organizations
 os                            Manipulate operating system
 package                       Manipulate packages
 package-group                 Manipulate package groups
 partition-table               Manipulate partition tables
 ping                          Get the status of the server and/or it's subcomponents
 policy                        Manipulate policies
 prebuild-bash-completion      Prepare map of options and subcommands for Bash completion
 product                       Manipulate products
 proxy                         Manipulate smart proxies
 realm                         Manipulate realms
 recurring-logic               Recurring logic related actions
 remote-execution-feature      Manage remote execution features
 report                        Browse and read reports
 report-template               Manipulate report templates
 repository                    Manipulate repositories
 repository-set                Manipulate repository sets on the server
 role                          Manage user roles
 scap-content                  Manipulate SCAP contents
 scap-content-profile          Manipulate Scap Content Profiles
 settings                      Change server settings
 shell                         Interactive shell
 simple-content-access         Simple content access commands
 srpm                          Manipulate source RPMs
 status                        Get the complete status of the server and/or it's subcomponents
 subnet                        Manipulate subnets
 subscription                  Manipulate subscriptions
 sync-plan                     Manipulate sync plans
 tailoring-file                Manipulate Tailoring files
 task                          Tasks related actions.
 template                      Manipulate provisioning templates
 template-input                Manage template inputs
 user                          Manipulate users
 user-group                    Manage user groups
 virt-who-config               Manage Virt Who configurations
 webhook                       Manage webhooks
 webhook-template              Manipulate webhook templates

Options:
 --[no-]use-defaults           Enable/disable stored defaults. Enabled by default
 --autocomplete VALUE          Get list of possible endings
 --csv                         Output as CSV (same as --output=csv)
 --csv-separator VALUE         Character to separate the values
 --fetch-ca-cert VALUE         Fetch CA certificate from server and exit
 --interactive BOOLEAN         Explicitly turn interactive mode on/off
 --no-headers                  Hide headers from output
 --output ENUM                 Set output format
                               Possible value(s): 'base', 'table', 'silent', 'csv', 'yaml', 'json'
 --output-file VALUE           Path to custom output file
 --show-ids                    Show ids of associated resources
 --ssl-ca-file VALUE           Configure the file containing the CA certificates
 --ssl-ca-path VALUE           Configure the directory containing the CA certificates
 --ssl-client-cert VALUE       Configure the client's public certificate
 --ssl-client-key VALUE        Configure the client's private key
 --ssl-with-basic-auth         Use standard authentication in addition to client certificate authentication
 --verify-ssl BOOLEAN          Configure SSL verification of remote system
 --version                     Show version
 -c, --config VALUE            Path to custom config file
 -d, --debug                   Show debugging output
 -h, --help                    Print help
 -p, --password VALUE          Password to access the remote system
 -q, --quiet                   Completely silent
 -r, --reload-cache            Force reload of Apipie cache
 -s, --server VALUE            Remote system address
 -u, --username VALUE          Username to access the remote system
 -v, --[no-]verbose            Be verbose (or not). True by default

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string
Red Hat logoGithubRedditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

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

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

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

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

会社概要

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

© 2024 Red Hat, Inc.