Hello All:
I have posted this as well to
http://lists.xensource.com/archives/.../msg00158.html
and figured I would try here.
I am trying to set the hostname of VMs at boot time and banging my head against the wall. I am using
virsh create xen-config.xml
to boot a Scientific Linux 5.5 image. I have gone through the libvirt domain xml format at
http://libvirt.org/formatdomain.html#elementsResources
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? Nothing I have tried seems to work. I have looked in /proc/cmdline after the image boots and it doesn't appear that the arguments are even being passed. Any help would be appreciated.
Cheers,
David