C.2 Sample Detailed Configuration File
This section shows the contents of the sample detailed configuration file, which you can generate by using the --create-full-config option of the Image Tool.
<jrockitve-imagetool-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="jrockitve-imagetool-config.xsd" version="5.0">
<jrockitve-filesystem-imports>
<copy from="/installs/*install3*/*"/>
<copy from="/share/temp/data/*" todir="/data"/>
<copy from="/tmp/my.dat" tofile="/data/THEVERSION"/>
</jrockitve-filesystem-imports>
<jrockitve-config memory="1 GB" cpus="1">
<storage>
<disks>
<disk id="root" size="256 MB"/>
</disks>
<mounts>
<mount>
<mount-point>/</mount-point>
<disk>root</disk>
</mount>
<mount type="nfs">
<mount-point>/test</mount-point>
<options>
<option>uid=513</option>
<option>gid=503</option>
</options>
<server-path>/temp/user/testdir</server-path>
<server>us.mycompany.com</server>
</mount>
</mounts>
</storage>
<vm-name>default-vm</vm-name>
<working-dir>/app/myworkdir/</working-dir>
<java-arguments>-cp $JAVA_HOME/lib/tools.jar:. -Xmx128m -jar MyApp.jar arg0 arg1 arg2</java-arguments>
<kernel-arguments>
<entry key="logLog" value="all"/>
<entry key="netTcpTtl" value="20"/>
</kernel-arguments>
<console-log-path>/test/mylog.log</console-log-path>
<network>
<dns>
<static-hosts>
<hosts ip="192.168.1.34">
<host>myhost</host>
</hosts>
<hosts ip="10.0.1.56">
<host>one.myhost1.com</host>
<host>two.myhost1.com</host>
</hosts>
</static-hosts>
<server-order>
<server ip="172.22.17.100"/>
<server ip="192.168.1.2"/>
</server-order>
<lookup-order>
<name suffix="us.host.com"/>
<name suffix="in.host.com"/>
</lookup-order>
</dns>
<nics>
<nic network="eth0" type="nat">
<ip>172.23.22.22</ip>
<netmask>255.255.255.0</netmask>
<mac>12:ab:34:cd:56:ef</mac>
</nic>
</nics>
<hostname>example</hostname>
</network>
<locale-data>
<locale>en_UK</locale>
<timezone>Europe/London</timezone>
<encoding>ISO-8859-1</encoding>
</locale-data>
</jrockitve-config>
<jrockitve-binary-url>ftp://host.com/jrockitve.bin</jrockitve-binary-url>
</jrockitve-imagetool-config>