第3章 組織、ロケーション、リポジトリー

表3.1 組織、ロケーション、リポジトリー

サブコマンド説明およびタスク

organization

組織を作成します。

hammer organization create \
--name org_name

組織をリスト表示します。

hammer organization list

location

組織のオプションを参照してください。

subscription
org

サブスクリプションマニフェストをアップロードします。

hammer subscription upload \
--file path

repository-set
org

リポジトリーを有効にします。

hammer repository-set enable \
--product prod_name \
--basearch base_arch \
--releasever rel_v \
--name repo_name

repository
org

リポジトリーを同期します。

hammer repository synchronize \
--product prod_name \
--name repo_name

カスタムリポジトリーを作成します。

hammer repository create \
--product prod_name \
--content-type cont_type \
--publish-via-http true \
--url repo_url \
--name repo_name

カスタムリポジトリーにコンテンツをアップロードします。

hammer repository upload-content \
--product prod_name \
--id repo_id \
--path path_to_dir