Remote Lights-Out Mgmt (iLO 2, iLO, RILOE II) Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

hponcfg /s HOW TO

Highlighted
Martin Forster_
Super Collector

hponcfg /s HOW TO

HI
its not documentated yet but pretty simble.

Just wrap on of the existing values in the xml files in % sings like
<%IP_ADDRESS% value=""/>
then call the executeable
hponcfg /w test.xml /s IP_ADDRESS=1.1.1.1

voila.
REGARDS
2 REPLIES
Martin Forster_
Super Collector

Re: hponcfg /s HOW TO

see above
Rajeshwari, Hir
Frequent Visitor

Re: hponcfg /s HOW TO

Variable substitution using '/s' option in HPONCFG :

HPONCFG version 1.2 onwards allows you to specify variables in the XML RIBCL script and to assign values to those variables when HPONCFG is executed. This feature would help to avoid re-writing the file containing the XML script every time with different values. Any thing enclosed in between two â %â characters in the XML file is considered as a variable.
In the example XML script below, %username%, %loginname% and %password% are variables.













Values for these variables can be specified at execution time using â substituteâ option. The argument to the option must be a string of variable name and value pairs separated by delimiter â ,â (comma). The variable name and its value must be separated by â =â (equals).

HPONCFG /f add_user.xml /s username=â test userâ ,login=â testloginâ ,password=testpasswd
//Add this to "OnDomLoad" event