WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] setting hostname in xen config .xml file
From: David Grundy <dagrundy@xxxxxxxxx>
Date: Thu, 7 Oct 2010 16:35:24 -0700
Delivery-date: Thu, 07 Oct 2010 16:36:28 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=0QLOtjkc6fCpwGZFTAB5OH+g3nd8sbiAbZakGCoe0Jo=; b=mJQSoTN9QNQ51w2iwJDzIxJxKLO61uAXdXfqeiIpbmYF9nSgkKQ3Blt5ED9CCrBRdn mrKRqwV/CsYgXhMG6j+cdNGZfmWOSIPLWCcOglP/uvxjRwBW4h6Dw7lFgzYxz5w3QZIQ eqBa/yzXkYJwuFedR8kIKSKqv6sycz/YORbRg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=XgXNEZZNsegXmz5BSKebRA/uG7Q59UcNgiYOjFw+7XzO3hAY4KegNRQ5I/4Z7RNXaF ejSjcNBxLz/XJtjYt27HnyQ87GdF35xNhsECmyxO/PViGH9XF98774tQJkGq4EtqrQmt KNveZaTocn9dCGmT57H3jNk0C2++N3QvxPW+8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>