<br>
I am trying to set the hostname of VMs at boot time and banging my head against the wall.  I am using<br>
<br>
virsh create xen-config.xml<br>
<br>
to boot a Scientific Linux 5.5 image.  I have gone through the libvirt domain xml format at<br>
<br>
<a href="http://libvirt.org/formatdomain.html#elementsResources">http://libvirt.org/formatdomain.html#elementsResources</a><br>
<br>
and I don't see anywhere to set the hostname in there.  I am using
pygrub for the bootloader and noticed the  "bootloader_args" element.
 Can I pass an argument to the kernel at boot to set the hostname? 
Can I pass anything to the kernel at boot time?  Nothing I have tried seems to work.  I have tried sifting through the pygrub code (for lack of documentation) and no luck yet.  I think my challenge is with pygrub but any help would be appreciated.  I have also posted this at <br>
<br><a href="http://lists.xensource.com/archives/html/xen-users/2010-10/msg00143.html">http://lists.xensource.com/archives/html/xen-users/2010-10/msg00143.html</a><br><br>and <br><br><a href="http://www.linuxquestions.org/questions/linux-virtualization-90/setting-hostname-in-xen-config-xml-file-836993/">http://www.linuxquestions.org/questions/linux-virtualization-90/setting-hostname-in-xen-config-xml-file-836993/</a><br>
<br>but still waiting...<br>
<br>
Cheers,<br>
<br>
David