[Openstack] how to let the instance name (instance-xxx) equal to the hostname of the instance (chosen by the user)??

Sébastien Han han.sebastien at gmail.com
Wed Nov 28 22:48:07 UTC 2012


Hi Vish,

Also the name is not unique, so if you do this you will have big problems
> if two users chose the same name.


I manage and decide instance names, so this should not be a problem.

Thanks ;)


On Wed, Nov 28, 2012 at 11:19 PM, Vishvananda Ishaya
<vishvananda at gmail.com>wrote:

>
> On Nov 28, 2012, at 2:16 PM, Vishvananda Ishaya <vishvananda at gmail.com>
> wrote:
>
> >
> > On Nov 28, 2012, at 2:08 PM, Sébastien Han <han.sebastien at gmail.com>
> 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
> >
>
> Also the name is not unique, so if you do this you will have big problems
> if two users chose the same name.
>
> Vish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121128/294579d1/attachment.html>


More information about the Openstack mailing list