I mean <vm>
<name>$hostname</name>
<description>$description</description>
<cluster>
<name>$cluster</name>
</cluster>
<template>
<name>$template</name>
<disk_profile>$disk_profile</disk_profile>
<---------------------------- How please? :-D
</template>
<cpu>
<topology>
<cores>1</cores>
<sockets>$cpu</sockets>
<threads>1</threads>
</topology>
</cpu>
<memory>$ramMB</memory>
<memory_policy>
<ballooning>true</ballooning>
<guaranteed>$ramMBguaranteed</guaranteed>
<max>$ramMBmax</max>
</memory_policy>
</vm>