← Back to team overview

openstack team mailing list archive

Re: how to let the instance name (instance-xxx) equal to the hostname of the instance (chosen by the user)??

 

On Nov 28, 2012, at 2:08 PM, Sébastien Han <han.sebastien@xxxxxxxxx> wrote:

> Hi,
> 
> Just tried this, it works but I'd also like to rename /var/lib/nova/instances/ according to the hostname. At the moment this only rename (output from nova show):
> 
> | OS-EXT-SRV-ATTR:instance_name       | mon-nom   
> 
> Is it possible?
> 
> Cheers!

Changing the name should change the dir in /var/lib/nova/instances, although it must be in nova.conf on the compute host and nova-compute will need to be restarted before you launch the instance.

Vish



Follow ups

References