[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] setting hostname in xen config .xml file


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: David Grundy <grundyd@xxxxxx>
  • Date: Thu, 07 Oct 2010 16:13:16 -0700
  • Delivery-date: Fri, 08 Oct 2010 09:00:09 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hello All:

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. Any help would be appreciated.

Cheers,

David
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.