43
<?xml version="1.0"?>
<installation srtype="ext">
<primary-disk>sda</primary-disk>
<guest-disk>sdb</guest-disk>
<guest-disk>sdc</guest-disk>
<keymap>us</keymap>
<root-password>mypassword</root-password>
<source type="url">http://pxehost.example.com/XenServer_/</source>
<post-install-script type="url">
http://pxehost.example.com/myscripts/post-install-script
</post-install-script>
<admin-interface name="eth0" proto="dhcp" />
<timezone>Europe/London</timezone>
</installation>
All nodes should be within a root node named installation.
Note:
If you wish to enable Thin Provisioning, you can specify an srtype attribute as ext. If this
attribute is not specified, the default local storage type is LVM. Thin Provisioning sets the local
storage type to EXT3 and enables local caching for XenDesktop to work properly. For details,
see Chapter 5, XenServer and IntelliCache.
The following is a summary of the elements. All values should be text in the nodes, unless otherwise stated.
Required elements are indicated.
Element Description Required?
<primary-disk> The name of the storage device where the control domain
should be installed, equivalent to the choice made on the
Select Primary Disk step of the interactive installation process.
Attributes:
You can specify a guest-storage attribute with possible values
yes and no. For example:
<primary-disk guest-storage="no">sda</primary-disk>
If this attribute is not specified, the default is yes. If you
specify no, it is possible to automate an installation scenario
where no storage repository is created, if, in addition, no
guest-disk keys are specified.
Y
<guest-disk> The name of a storage device to be used for storing guests.
You should use one of these elements for each extra disk.
N
<keymap> The name of the keymap to use during installation.
<keymap>us</keymap>
The default value, us will be considered if you do not specify
a value for this attribute.
Y