2.2. 机构、位置和软件仓库


Expand
子命令描述和任务

机构

创建一个机构:

hammer organization create \ --name org_name

列出机构:

hammer organization list

location

查看机构的选项

订阅
机构

上传订阅清单:

hammer subscription upload \ --file path

repository-set
org

启用存储库:

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

仓库
机构

同步存储库:

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
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部