<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; } .hmmessage p { margin: 0px; padding: 0px; } body.hmmessage { font-size: 12pt; font-family: Calibri; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>can that be configured on a global scale or would that have to be done using heat templates or something like that?<br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Frá:</b> Chris Card <ctcard@hotmail.com><br>
<b>Sent:</b> 18. febrúar 2016 14:58<br>
<b>Til:</b> Davíð Örn Jóhannsson; openstack@lists.openstack.org<br>
<b>Efni:</b> RE: [Openstack] Tenant name from within an instance</font>
<div> </div>
</div>
<div>
<div dir="ltr"><br>
<br>
<div>
<hr id="stopSpelling">
From: davidoj@siminn.is<br>
To: openstack@lists.openstack.org<br>
Date: Thu, 18 Feb 2016 14:38:00 +0000<br>
Subject: [Openstack] Tenant name from within an instance<br>
<br>
<style style="">
<!--
-->
</style>> I'm currently looking for ways to be able to retrieve information on what tenant a given openstack instance lives in from within that instance it self.<br>
<br>
<br>
<br>
> This information is not available from <a href="http://169.254.169.254/latest/meta-data" target="_blank">http://169.254.169.254/latest/meta-data</a> and setting up a nova client to access the api is not the way I want to go.<br>
<br>
<br>
I don't know a way using the meta-data server, but one way would be to get cloud-init to write a file when the instance is created.<br>
<br>
Chris<br>
</div>
</div>
</div>
</div>
</body>
</html>