[Openstack-operators] how can I make a new VM use the project name as sub-domain ?

Alex Leonhardt aleonhardt.py at gmail.com
Thu Aug 14 22:08:10 UTC 2014


Hi Abel,

Yep - I know - but question is, will the OS hostname automatically update
the hostname displayed by Horizon when people are using the Dashboard ? Or,
if not, how can I convince whatever is creating the VM ( nova-api ? ) to
set the hostname as I require ?

Alex



On 14 August 2014 20:47, Abel Lopez <alopgeek at gmail.com> wrote:

> You can also pass user-data on Horizon, it's one of the window tabs in the
> launch instance dialog.
>
>
> On Thursday, August 14, 2014, Alex Leonhardt <aleonhardt.py at gmail.com>
> wrote:
>
>> Thanks!
>>
>> What about the openstack dashboard - will it update the VM's hostname
>> based on the OS's hostname that's set ?
>>
>> Alex
>>
>>
>> On 14 August 2014 20:08, Abel Lopez <alopgeek at gmail.com> wrote:
>>
>>> Some examples on using user-data
>>>
>>> http://docs.openstack.org/user-guide/content/user-data.html
>>>
>>> On Aug 14, 2014, at 11:48 AM, Alex Leonhardt <aleonhardt.py at gmail.com>
>>> wrote:
>>>
>>>  hi all,
>>>
>>> am running openstack in a flat-network with just 1 IP range / network
>>> and would like to have the VMs' named after the project, e.g.:
>>>
>>> project name: dev
>>>
>>> host name: redis1
>>> domain: acme.com
>>>
>>> resulting name: redis1.dev.acme.com
>>>
>>> at the moment i'd just get a result of redis1.acme.com - but do
>>> want/need the sub-domains as
>>>
>>> project: dev
>>> and
>>> project: internal
>>> and
>>> project: frontend
>>> etc.
>>>
>>> may use the same name for things they work on ... how is this
>>> accomplished ? Or where do I have to look at (in the code) to try and make
>>> this a default ?
>>>
>>> Thanks a lot!
>>> Alex
>>>
>>> _______________________________________________
>>> OpenStack-operators mailing list
>>> OpenStack-operators at lists.openstack.org
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>>>
>>>
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20140814/4b3f6681/attachment.html>


More information about the OpenStack-operators mailing list