Hi,
Not quick sure which name of the instance you are refereeing to.
Do you mean when you open XenCenter it shows you a different name?
Thanks,
John
From: openstack-bounces+john.garbutt=citrix@lists.launchpad.net
[mailto:openstack-bounces+john.garbutt=citrix@lists.launchpad.net] On
Hi,
Yes - when you list your vms via xe vm-list, you get the name-label of the
instance.
The question is how to modify openstack to let the hostname of the created
instance equal to this name-label?
Thank you,
Afef
2012/11/28 John Garbutt john.garb...@citrix.com
Hi,
** **
Not quick
I think this is the flag you want to change and its default:
instance_name_template=instance-%08x
You should try:
instance_name_template=%(hostname)s
This is the code that deals with it:
https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/models.py#L203
This is where the name gets
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!
On Wed, Nov 28, 2012 at 7:31 PM, John Garbutt
On Nov 28, 2012, at 2:08 PM, Sébastien Han han.sebast...@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 |
On Nov 28, 2012, at 2:16 PM, Vishvananda Ishaya vishvana...@gmail.com wrote:
On Nov 28, 2012, at 2:08 PM, Sébastien Han han.sebast...@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
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
vishvana...@gmail.comwrote:
On Nov 28,
Hi all,
Due to some requirements, I have to modify openstack source code in order
to let the name of the instance (in Xen Server) equal to the hostname of
the instance (chosen by the user).
Is it possible to do that by only configuring openstack? If yes, could you
please guide me to the suitable
8 matches
Mail list logo