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

[Xen-users] Custom Scripts with ${hostname} ?


  • To: "'xen-users@xxxxxxxxxxxxxxxxxxx'" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Berger, Thomas" <tbe@xxxxxxxxx>
  • Date: Tue, 24 Mar 2009 16:24:48 +0100
  • Accept-language: de-DE
  • Acceptlanguage: de-DE
  • Delivery-date: Tue, 24 Mar 2009 08:25:34 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcmslNY0mAx+uRyWScKnuU9axX6lxg==
  • Thread-topic: Custom Scripts with ${hostname} ?

Hi all there,

 

is there any way, to get the name of a domU from the network-common script?

 

Here is the $(env) called from the script:

 

------

SUBSYSTEM=xen-backend

DRIVER=vif

XENBUS_TYPE=vif

DEVPATH=/devices/xen-backend/vif-10-0

script=/etc/xen/scripts/vif-bridge

vif=vif10.0

PATH=/sbin:/bin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

ACTION="">

PWD=/

UDEV_LOG=3

LANG=POSIX

XENBUS_PATH=backend/vif/10/0

UDEVD_EVENT=1

XENBUS_BASE_PATH=backend

SHLVL=1

PHYSDEVDRIVER=vif

PHYSDEVBUS=xen-backend

SEQNUM=1490

_=/usr/bin/env

 

As you see, no Information available, which can be used without parsing / regex / modification, even not a DomID!

 

Kind Regards,
------------------------------------------------------------------------
Thomas Berger
- Junior Consultant for SAP Netweaver AS -
BOREUS Rechenzentrum GmbH
Zur Schwedenschanze 2
D - 18435 Stralsund
Germany
Phone:+49 (0) 38 31 - 36 76 415
Fax: +49 (0) 38 31 - 36 76 615
eMail: tbe@xxxxxxxxx
Internet: http://www.boreus.de/
--------------------------------------------------------------------------
Geschäftsführer: André Jahns, Holger Lebrecht
Handelsregister: Amtsgericht Stralsund HRB 5750
Sitz der Gesellschaft: Stralsund

 

_______________________________________________
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®.