<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><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="display:none;">
.ExternalClass p {
}
</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></body>
</html>