<div>Hi,</div><div><br></div>Yes - when you list your vms via xe vm-list, you get the name-label of the instance. <div>The question is how to modify openstack to let the hostname of the created instance equal to this name-label?</div>
<div><br></div><div>Thank you,</div><div>Afef</div><div><br><div class="gmail_quote">2012/11/28 John Garbutt <span dir="ltr"><<a href="mailto:John.Garbutt@citrix.com" target="_blank">John.Garbutt@citrix.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-GB" link="#0563C1" vlink="#954F72"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Not quick sure which “name” of the instance you are refereeing to.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Do you mean when you open XenCenter it shows you a different name?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">John<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt"><div><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif""> openstack-bounces+john.garbutt=<a href="mailto:citrix.com@lists.launchpad.net" target="_blank">citrix.com@lists.launchpad.net</a> [mailto:<a href="mailto:openstack-bounces%2Bjohn.garbutt" target="_blank">openstack-bounces+john.garbutt</a>=<a href="mailto:citrix.com@lists.launchpad.net" target="_blank">citrix.com@lists.launchpad.net</a>] <b>On Behalf Of </b>Afef MDHAFFAR<br>
<b>Sent:</b> 23 November 2012 17:22<br><b>To:</b> <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br><b>Subject:</b> [Openstack] how to let the instance name (instance-xxx) equal to the hostname of the instance (chosen by the user)??<u></u><u></u></span></p>
</div></div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Hi all,<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Due to some requirements, I have to modify openstack source code in order to let the name of the instance (in Xen Server) equal to the hostname of the instance (chosen by the user).<u></u><u></u></p>
</div><div><p class="MsoNormal">Is it possible to do that by only configuring openstack? If yes, could you please guide me to the suitable flag?<u></u><u></u></p></div><div><p class="MsoNormal">If not, could you please guide me to the right python files that need to be changed.<u></u><u></u></p>
</div><div><p class="MsoNormal">I use the folsom release, with XCP as a virtualization technology. <u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Thank you,<u></u><u></u></p>
</div><div><p class="MsoNormal" style="margin-bottom:12.0pt">Afef<br><br><u></u><u></u></p></div></div></div></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Afef MDHAFFAR<br><a href="http://www.redcad.org/members/mdhaffar/">http://www.redcad.org/members/mdhaffar/</a><br>
<br><br><br>
</div>