2.67. hammer repository
リポジトリーを操作します。
Usage: hammer repository [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create a custom repository delete, destroy Destroy a custom repository export Export content from a repository to the configured directory info, show Show a repository list, index List of enabled repositories remove-content Remove content from a repository synchronize Sync a repository update Update a repository upload-content Upload content into the repository Options: -h, --help Print help
2.67.1. hammer repository create
カスタムリポジトリーを作成します。
Usage: hammer repository create [OPTIONS] Options: --ansible-collection-requirements ANSIBLE_COLLECTION_REQUIREMENTS Contents of requirement yaml file to sync from URL --checksum-type CHECKSUM_TYPE Checksum of the repository, currently 'sha1' & 'sha256' Are supported --content-type CONTENT_TYPE Type of repo Possible value(s): 'docker', 'file', 'ostree', 'puppet', 'yum' --deb-architectures DEB_ARCHITECTURES Comma-separated list of architectures to be synced from deb-archive --deb-components DEB_COMPONENTS Comma-separated list of repo components to be synced from deb-archive --deb-releases DEB_RELEASES Comma-separated list of releases to be synced from deb-archive --description DESCRIPTION Description of the repository --docker-tags-whitelist DOCKER_TAGS_WHITELIST Comma-separated list of tags to sync for Container Image repository Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --docker-upstream-name DOCKER_UPSTREAM_NAME Name of the upstream docker repository --download-concurrency DOWNLOAD_CONCURRENCY Used to determine download concurrency of the repository in pulp3. Use Value less than 20. Defaults to 10 --download-policy DOWNLOAD_POLICY Download policy for yum repos (either 'immediate', 'on_demand', or 'background (deprecated)') Possible value(s): 'immediate', 'on_demand', 'background' --gpg-key GPG_KEY_NAME Name to search by --gpg-key-id GPG_KEY_ID Id of the gpg key that will be assigned to the new repository --http-proxy HTTP_PROXY_NAME Name to search by --http-proxy-id HTTP_PROXY_ID ID of a HTTP Proxy --http-proxy-policy HTTP_PROXY_POLICY Policies for HTTP Proxy for content sync Possible value(s): 'global_default_http_proxy', 'none', 'use_selected_http_proxy' --ignorable-content IGNORABLE_CONTENT List of content units to ignore while syncing a yum repository. Must be Subset of rpm,drpm,srpm,distribution,erratum Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --ignore-global-proxy IGNORE_GLOBAL_PROXY If true, will ignore the globally configured Capsule when syncing One of true/false, yes/no, 1/0. --label LABEL --mirror-on-sync MIRROR_ON_SYNC True if this repository when synced has to be mirrored from the source and Stale rpms removed One of true/false, yes/no, 1/0. --name NAME Name of the repository --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID --organization-label ORGANIZATION_LABEL Organization label to search by --organization-title ORGANIZATION_TITLE Organization title --os-versions OS_VERSIONS Identifies whether the repository should be disabled on a client with a Non-matching OS version. Pass [] to enable regardless of OS version. Maximum length 1; allowed tags are: rhel-6, rhel-7, rhel-8 Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --ostree-upstream-sync-depth OSTREE_UPSTREAM_SYNC_DEPTH If a custom sync policy is chosen for ostree repositories then a 'depth' value must be provided --ostree-upstream-sync-policy OSTREE_UPSTREAM_SYNC_POLICY Policies for syncing upstream ostree repositories Possible value(s): 'latest', 'all', 'custom' --product PRODUCT_NAME Product name to search by --product-id PRODUCT_ID Product the repository belongs to --publish-via-http ENABLE Publish Via HTTP One of true/false, yes/no, 1/0. --ssl-ca-cert SSL_CA_CERT Name of content credential containing CA certificate --ssl-ca-cert-id SSL_CA_CERT_ID Identifier of the content credential containing the SSL CA Cert --ssl-client-cert SSL_CLIENT_CERT Name of content credential containing client certificate --ssl-client-cert-id SSL_CLIENT_CERT_ID Identifier of the content credential containing the SSL Client Cert --ssl-client-key SSL_CLIENT_KEY Name of content credential containing client key --ssl-client-key-id SSL_CLIENT_KEY_ID Identifier of the content credential containing the SSL Client Key --upstream-password UPSTREAM_PASSWORD Password of the upstream repository user used for authentication --upstream-username UPSTREAM_USERNAME Username of the upstream repository user used for authentication --url URL Repository source url --verify-ssl-on-sync VERIFY_SSL_ON_SYNC If true, Katello will verify the upstream url's SSL certifcates are Signed by a trusted CA One of true/false, yes/no, 1/0. -h, --help Print help