无人照管的置备

您可以使用 API 调用来声明通过 MAC 地址标识的客户端与自动安装配置文件之间的关联。系统下次重引导时,会根据指定的配置文件开始安装。

过程:通过手动声明的配置文件重新安装
  1. On the SUSE Multi-Linux Manager Server, at the command prompt, use the system.createSystemRecord API call. In this example, replace name with the name of your client, <profile> with the profile label, <iface> with the name of the interface on the client such as eth0, and <hw_addr> with its hardware address such as 00:25:22:71:e7:c6:

    $ spacecmd api -- --args '["<name>", "<profile>", "", "", \
      [ {"name": "<iface>", "mac": "<hw_addr>"} ]]' \
       system.createSystemRecord
  2. 打开客户端。它会从网络进行引导,并且系统会选择正确的配置文件以执行安装。

This command creates a system record at Cobbler. You may also specify additional parameters, like kernel options, the IP address of the client, and its domain name. For more information, see the API documentation for createSystemRecord call.