Difference between revisions of "Hosts.xml"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
Line 1: Line 1:
 
'''hosts.xml''' is a file which defines the the hosts and the profiles, which this hosts will use.
 
'''hosts.xml''' is a file which defines the the hosts and the profiles, which this hosts will use.
  
It has to be placed in the same direstory as [[wpkg.js|wpkg.js]], and WPKG will not work without this file.
+
It has to be placed in the same direstory as [[wpkg.js|wpkg.js]].
 +
 
 +
WPKG will not work without this file.
 +
 
 +
 
 +
The structure of '''hosts.xml''' is the following:
 +
 
 +
<wpkg>
 +
 
 +
    <host name="host1" profile-id="custom" />
 +
 
 +
</wpkg>
 +
 
 +
Which means, that a hostname with a name ''host1'' will use a profile ''custom''.
 +
Profiles are defined in [[packages.xml]].

Revision as of 11:55, 25 June 2005

hosts.xml is a file which defines the the hosts and the profiles, which this hosts will use.

It has to be placed in the same direstory as wpkg.js.

WPKG will not work without this file.


The structure of hosts.xml is the following:

<wpkg>

   <host name="host1" profile-id="custom" />

</wpkg>

Which means, that a hostname with a name host1 will use a profile custom. Profiles are defined in packages.xml.