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