Hi Tim,

On 2014-09-25 3:01 AM, Tim Bell wrote:
-----Original Message-----
From: Mathieu Gagné [mailto:[email protected]]

Lets say I wish to rename a compute node. How should I proceed?

Is there someone will a script lying around for that purpose? =)


How about nova rename ? You'll need to do some work to get the VM hostname etc. 
changed though as I don't think cloud init will do all of this for you.

$ nova help rename
usage: nova rename <server> <name>

Rename a server.

Positional arguments:
   <server>  Name (old name) or ID of server.
   <name>    New name for the server.


Thanks for your answer. Unfortunately, I'm more interested in renaming the actual compute node (host) than the instance (virtual machine) itself.

--
Mathieu

_______________________________________________
OpenStack-operators mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

Reply via email to