<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I wonder whether the previous hostname was associated with the
instance name or not. If yes, then your cloud-init worked, just that
metadata was not updated by changing the instance name. If no, you
need cloud-init built in the image and it will poll the metadata
after reboot.<br>
<br>
<br>
<div class="moz-cite-prefix">On 08/14/2015 10:45 AM, mad Engineer
wrote:<br>
</div>
<blockquote
cite="mid:CAN8oO4AYmMEj4zQSL++eos2FhRwqMLvWOhjzB9yt3HipkOZCoA@mail.gmail.com"
type="cite">
<div dir="ltr">so is editing cloudinit manually the only way to
change hostname?.I wonder how would it get the instance name as
hostname during build state.</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Aug 14, 2015 at 11:06 PM, David
Medberry <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:medberry@gmail.com" target="_blank">medberry@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">This is a VM specific issue. You may be able to
do so with cloud init but primarily you will need to go
into the instance if you do this after the instance is
booted.</p>
<p dir="ltr">How to do so within the instance is OS
specific.</p>
<div class="gmail_quote">
<div>
<div class="h5">On Aug 14, 2015 11:05 AM, "mad Engineer"
<<a moz-do-not-send="true"
href="mailto:themadengin33r@gmail.com"
target="_blank">themadengin33r@gmail.com</a>>
wrote:<br type="attribution">
</div>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div class="h5">
<div dir="ltr">is there any way to change hostname
by changing instance name.
<div>I tried changing instance name and then did a
hard reboot but hostname is still the same.If
this is not the right approach for changing
hostname can some one tell me what should be
done to change hostname of instances without
logging to instance.</div>
<div><br>
</div>
<div>tried on Juno-Neutron and
icehouse-nova-network none worked</div>
<div><br>
</div>
<div>Thanks for any help</div>
</div>
<br>
</div>
</div>
_______________________________________________<br>
Mailing list: <a moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack"
rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a moz-do-not-send="true"
href="mailto:openstack@lists.openstack.org"
target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack"
rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br>
</blockquote>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
Post to : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
</pre>
</blockquote>
<br>
</body>
</html>