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] How to find dom0 name from domU

To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] How to find dom0 name from domU
From: mailing lists <listas.correo@xxxxxxxx>
Date: Mon, 8 Nov 2010 11:58:43 +0000 (GMT)
Cc:
Delivery-date: Mon, 08 Nov 2010 04:01:10 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s1024; t=1289217523; bh=J2kQ7z+RDeVduvZZgZZs936mMtU1o3gavV9GosLX7Wg=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=zXiW3IDcevzOxRCTuhIAjqO9MoiV0aEIRXBtHHy/AjWKxZyyqRPwv9W4UaMpmFrmwUwL4uIouzg6a/VrESOaC2lpMLGMTZQDBEXSYdxAyStHl4d0oKAbSbNRZhGI1EJ7xLJm9bBmNWUsG+ZQVlcb5TfSiOILd+pC/aEmFP7xLM0=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.es; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=3uvfJ3d09q+QwvncxsC1FF2CTwIV+W+3SzsMNh+3IyWNj050a06L7Jyn/8jtEC+KOJ0ClsY36YN4u17Nac4FTjFx8teV+U8nCITCUY3T0UOJuPw28UijxDYpNcwyW0jhUBg46BBRxQOfbe8SKimzBq5AIhmXudsFpRioS0PEwS4=;
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, 

I'm using a little trick, (contatenating the hostname of the dom0 
in the domU 'extra' directive) but I'd like to known if there is a
better form. Thank you.

bigbox03-dom0:~  # cat /etc/xen/vm/-vm1 
import os
name="vm1"
uuid="1245bac6-d09d-f9b0-a8eb-45aa443e9c44"
memory=384
maxmem=384
vcpus=1
on_poweroff="destroy"
on_reboot="restart"
on_crash="destroy"
localtime=0
keymap="us"
builder="linux"
bootloader="/usr/lib/xen/boot/domUloader.py"
bootargs="--entry=xvda1:/boot/vmlinuz-xen,/boot/initrd-xen"
extra= "xencons=tty Dom0Hostname="+os.uname()[1]
disk=[ 'file:/var/lib/xen/images/vm1/disk0,xvda,w', ]
vif=[ 'bridge=br0', ]

DomU:~ # cat /proc/cmdline 
xencons=tty Dom0Hostname=bigbox03-dom0




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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] How to find dom0 name from domU, mailing lists <=