11.4. 为转换注册主机

使用这个流程将 CentOS 主机注册到 Satellite。

Ansible 角色生成的激活码如下:

  • convert2rhel_centos7 - 用于注册 centos7 主机。
  • convert2rhel_centos8 - 用于注册 centos8 主机。
  • convert2rhel_oracle7 - 用于注册 oracle7 主机。
  • convert2rhel_oracle8 - 用于注册 oracle8 主机。
  • convert2rhel_rhel7 - 用于重新注册转换为 RHEL 7 的主机。
  • convert2rhel_rhel8 - 用于重新注册转换为 RHEL 8 的主机。

流程

  1. 在 Satellite Web UI 中,导航到 Hosts &gt ; All Hosts,再点 Register Host
  2. Host Group 字段中,选择您要用作转换模板的主机组。您还可以选择以下预定义的主机组之一:

    • CentOS7 转换
    • CentOS8 转换
    • Oracle Linux 7 转换
    • Oracle Linux 8 转换

这些主机组的激活码会被自动应用。

  1. 可选,在 Operating System 字段中,选择您要从中转换的操作系统。
  2. 可选:在 Capsule 字段中,选择所需的 Capsule。
  3. 可选:如果主机可能不信任 Satellite CA,请选中 Insecure 复选框。
  4. 可选: 在 Remote Execution Interface 字段中,如果主机有多个接口,并且远程执行必须使用一个接口,请选择适当的网络接口。
  5. Activation Key (s) 字段中,输入内容激活码的名称。
  6. 单击 Generate Command

当在要转换的主机上运行命令时,它会在 Hosts > All Hosts 中注册。如果主机订阅状态警告 Unknown 订阅状态,则可以忽略它。