Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to change hostname of instance

How can I change the hostname of an instance I've created through the horizon gui? I've tried changing /etc/hostname and rebooting, but the instance always comes back up with the original hostname. Also, changing the instance name in horizon doesn't affect the hostname. I assume that cloud-init is setting the hostname, but I don't know where it gets the information from or how to change it. I am using Juno release of openstack.

How to change hostname of instance

How can I change the hostname of an instance I've created through the horizon gui? I've tried changing /etc/hostname and rebooting, but the instance always comes back up with the original hostname. Also, changing the instance name in horizon doesn't affect the hostname. I assume that cloud-init is setting the hostname, but I don't know where it gets the information from or how to change it. I am using Juno release of openstack.