2.6. 创建硬件模型

使用这个步骤在卫星中创建硬件模型,以便您可以指定主机使用的硬件模型。

流程

  1. 在 Satellite Web UI 中,进入 Hosts > Hardware Models 并点 Create Model
  2. Name 字段中输入硬件模型的名称。
  3. 另外,在 Hardware ModelVendor Class 字段中,您可以为您的系统输入相应的信息。
  4. Info 字段中输入硬件模型的描述。
  5. Submit 保存您的硬件模型。

对于 CLI 用户

  • 使用 hammer 模型 create 命令创建硬件模型。唯一必需参数是 --name。另外,还可使用 --hardware-model 选项输入硬件模型、带有 --vendor-class 选项的供应商类,以及 --info 选项的描述:

    # hammer model create --name "model_name" --info "description" \
    --hardware-model "hardware_model" --vendor-class "vendor_class"