HP ProLiant DL380e HP Intelligent Provisioning User Guide - Page 32

In the previous example, Intelligent Provisioning replaces each URL that starts

Page 32 highlights

3. Update the URLs in the SPP configuration files to address your web server: a. Create or modify the file spp-version1/hp_manifest/config.xml, adding rules to rewrite the URLs to reference your web server. For example, nl In the previous example, Intelligent Provisioning replaces each URL that starts with file:// with a URL on your web server. For example, a request for file://./hp/ swpackages/CP0012345.scexe is converted to http://myserver/ spp-version1/hp/swpackages/CP0012345.scexe. b. Update spp-version1/hp_manifest/index.xml to reference config.xml if it is not already listed. 32 Advanced topics

  • 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

3.
Update the URLs in the SPP configuration files to address your web server:
a.
Create or modify the file
spp-version1/hp_manifest/config.xml
, adding rules
to rewrite the URLs to reference your web server. For example,
<?xml version=
1.0
encoding=
UTF-8
?>
<hp_manifest schema_version=
1.0.0.0
>
nl
<index>
<config>
<rewrite_url
pattern=
file://\.
replace=
http://myserver/spp-version1
/>
</config>
</index>
</hp_manifest>
In the previous example, Intelligent Provisioning replaces each URL that starts with
file://
with a URL on your web server. For example, a request for
file://./hp/
swpackages/CP0012345.scexe
is converted to
http://myserver/
spp-version1/hp/swpackages/CP0012345.scexe
.
b.
Update
spp-version1/hp_manifest/index.xml
to reference
config.xml
if it
is not already listed.
<?xml version=
1.0
encoding=
UTF-8
?>
<hp_manifest schema_version=
1.0.0.0
>
<index>
<include src=
meta.xml
type=
meta
lang=
en
/>
<include src=
meta-ja.xml
type=
meta
lang=
ja
/>
<include src=
os.xml
type=
operating_systems
/>
<include src=
type.xml
type=
type
/>
<include src=
system.xml
type=
systems
/>
<include src=
device.xml
type=
devices
/>
<include src=
category.xml
type=
categories
/>
<include src=
config.xml
type=
config
/>
</index>
</hp_manifest>
32
Advanced topics