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

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

To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Custom Scripts with ${hostname} ?
From: "Berger, Thomas" <tbe@xxxxxxxxx>
Date: Wed, 25 Mar 2009 10:12:55 +0100
Accept-language: de-DE
Acceptlanguage: de-DE
Delivery-date: Wed, 25 Mar 2009 02:13:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090324190051.5DF6C2E9E@xxxxxxxxxxxxxxx>
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>
References: <20090324190051.5DF6C2E9E@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcmsstwpF9V/gmMJTG6hweWKhw9jygAdvkew
Thread-topic: [Xen-users] Custom Scripts with ${hostname} ?
Hi, 

i will answer my own question:

hostname=$(xenstore_read "$XENBUS_PATH/domain" | tr -- '_.:/+' '-----')

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

<Prev in Thread] Current Thread [Next in Thread>