HP Integrity rx2800 Smart Setup Scripting Toolkit Administrator's Guide 4.0 - Page 43

Examples, Return codes, Example 6-1 Sample conrep.dat file, Table 6-1 conrep Return Codes

Page 43 highlights

Examples Example 6-1 Sample conrep.dat file 4c 00 61 00 6e 00 67 00 00 ... 44 00 65 00 66 00 61 00 ... 43 00 50 00 55 00 54 ... 54 00 69 00 6d 00 ... 43 00 6f 00 6e 00 ... 43 00 6f 00 6e 00 49 ... 45 00 72 00 72 00 ... 43 00 6f 00 6e 00 ... 39 b9 25 ad c7 d4 e8 0f 32 8e d9 05 94 05 a6 01 Example 6-2 Sample conrep.xml file Lang Default UIOption CPUThreadControl Timeout ConOut ConIn ErrOut ConOutUserModified AutobootRetry AutobootRetries To read variables from the configuration file and write them to the conrep.dat file in verbose mode, enter: conrep -s -x conrep.xml -f y:\data_files\conrep.dat -v To write the contents of the conrep.dat file to NVRAM in verbose mode, enter: conrep -l -f y:\data_files\conrep.dat -v Return codes Table 6-1 conrep Return Codes Value Meaning 0 conrep executed successfully 1 Permission denied Cause The user does not have administrator privileges. Action Log in as an administrator and rerun conrep. conrep 43

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65

Examples
Example 6-1 Sample conrep.dat file
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<conrep_data>
<section name="EFI_general_variables">
<Lang>4c 00 61 00 6e 00 67 00 00 ...</Lang>
<Default>44 00 65 00 66 00 61 00 ...</Default>
<CPUThreadControl>43 00 50 00 55 00 54 ...</CPUThreadControl>
<Timeout>54 00 69 00 6d 00 ...</Timeout>
<ConOut>43 00 6f 00 6e 00 ...</ConOut>
<ConIn>43 00 6f 00 6e 00 49 ...</ConIn>
<ErrOut>45 00 72 00 72 00 ...</ErrOut>
<ConOutUserModified>43 00 6f 00 6e 00 ...</ConOutUserModified>
</section>
<section name="EFI_Non-Cell_variables">
</section>
</digest>39 b9 25 ad c7 d4 e8 0f 32 8e d9 05 94 05 a6 01 </digest>
</conrep>
Example 6-2 Sample conrep.xml file
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<conrep>
<section name="EFI_general_variables">
<ev>Lang</ev>
<ev>Default</ev>
<ev>UIOption</ev>
<ev>CPUThreadControl</ev>
<ev>Timeout</ev>
<ev>ConOut</ev>
<ev>ConIn</ev>
<ev>ErrOut</ev>
<ev>ConOutUserModified</ev>
</section>
<section name="EFI_Non-Cell_variables">
<ev>AutobootRetry</ev>
</section>
<section name="EFI_Cell_variables">
<ev>AutobootRetries</ev>
</section>
</conrep>
To read variables from the configuration file and write them to the
conrep.dat
file in verbose
mode, enter:
conrep -s -x conrep.xml -f y:\data_files\conrep.dat
v
To write the contents of the
conrep.dat
file to NVRAM in verbose mode, enter:
conrep
l
f y:\data_files\conrep.dat -v
Return codes
Table 6-1 conrep Return Codes
Action
Cause
Meaning
Value
conrep
executed
successfully
0
Log in as an administrator and rerun
conrep
.
The user does not have
administrator privileges.
Permission denied
1
conrep
43