<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Dear all,<br class=""><br class="">I am using xen and xen-tools to automatise the VM creation which works fine including the copying of some custom configuration files to the newly created VMs.<br class="">I need however some other things to setup on dom0, for example the rsnapshot configuration, which needs an entry of each newly created VM.<div class=""><br class="">I looked at the hooks but they only provide the `prefix` as input parameter, but I need the hostname to do something like<br class=""><br class=""><font face="Courier New" class=""><b class="">echo "backup <a href="lvm://vg0/$" class="">lvm://vg0/$</a>{VM_HOSTNAME}/  ${VM_HOSTNAME}/" >> /etc/rsnapshot.conf<br class=""></b></font><br class=""><div class="">to activate the backup on dom0.</div><div class=""><br class=""></div><div class="">What is the common way to do things like this? Or do I need to modify the original xen-create-image script manually, where I have access to all the VM parameters?</div><div class=""><br class=""></div><div class="">Best,</div><div class="">Tom</div></div></body></html>