> -----Original Message----- > From: Mathieu Gagné [mailto:[email protected]] > Sent: 24 September 2014 01:28 > To: [email protected] > Subject: [Openstack-operators] Renaming a compute node > > Hi guys, > > 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. Tim > BTW, I found a bunch of values in the database but I'm confused: some refer to > the hostname, others are the FQDN. I never figured what's the best practice: > should everything refer to the FQDN or the hostname? > > -- > Mathieu > > _______________________________________________ > OpenStack-operators mailing list > [email protected] > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators _______________________________________________ OpenStack-operators mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
