Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/kubernetes/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Automation 使用iLO设置和获取BIOS设置_Automation_Bios - Fatal编程技术网

Automation 使用iLO设置和获取BIOS设置

Automation 使用iLO设置和获取BIOS设置,automation,bios,Automation,Bios,如何使用iLO连接设置/获取BIOS设置,我需要自动配置手动进行的BIOS设置。使用哪种编程/脚本语言并不重要,而且我有各种各样的机器供应商(IBM、HP、DELL),因此请让我知道如何在其中任何一种机器上执行此操作。对于HP,请使用conrep 说明: 用于使用xml定义文件捕获/应用BIOS设置的命令行实用程序 将当前设置捕获到xml文件 /opt/hp/conrep -s -f <filename> 错误代码: 0 - Success 1 - Bad XML File 2 -

如何使用iLO连接设置/获取BIOS设置,我需要自动配置手动进行的BIOS设置。使用哪种编程/脚本语言并不重要,而且我有各种各样的机器供应商(IBM、HP、DELL),因此请让我知道如何在其中任何一种机器上执行此操作。

对于HP,请使用conrep

说明:

用于使用xml定义文件捕获/应用BIOS设置的命令行实用程序

将当前设置捕获到xml文件

/opt/hp/conrep -s -f <filename>
错误代码:

0 - Success
1 - Bad XML File
2 - Bad Data File
4 - Admin Password set
5 - No XML Tag
6 - Platform is not supported with current XML definition file.
Usage /opt/hp/conrep -s | -l [-f output filename] [-x xml configuration filename] [-?]

-s Saves the current configuration to a file.
-l Loads configuration setting from a file.
-f Name of the output file.
-x Name of the XML definition file.  Provide the /opt/hp/conrep.xml full path.
    If not present, the XML configuration will default to conrep.xml
    If not present, the output filename default to conrep.dat
0 - Success
1 - Bad XML File
2 - Bad Data File
4 - Admin Password set
5 - No XML Tag
6 - Platform is not supported with current XML definition file.