Yes Jerry Instance hostname is still old name of instance.Is there any way
to update metadata with new name so that reboot will give it a new hostname?
On Sat, Aug 15, 2015 at 12:01 AM, Jerry Zhao wrote:
> I wonder whether the previous hostname was associated with the instance
> name or not. If
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.
during the build state, the hostname is part of cloud-init.
However, cloud-init has some fields that are read/set only once (IIRC).
On Fri, Aug 14, 2015 at 12:31 PM, Jerry Zhao wrote:
> 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
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.
On 08/14/2015 1
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.
On Fri, Aug 14, 2015 at 11:06 PM, David Medberry wrote:
> This is a VM specific issue. You may be able to do so with cloud init but
> primarily you will n
is there any way to change hostname by changing instance name.
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