I don’t think there is a formal exit inside OpenStack to do this.  You may have 
to make a small patch to Nova.

It would be an interesting feature to define a plug-in architecture for this 
which would have several other uses.

Tim

> -----Original Message-----
> From: Francesco Ceccarelli [mailto:cecca...@fnal.gov]
> Sent: 14 September 2013 20:40
> To: Tim Bell
> Cc: openstack@lists.openstack.org
> Subject: Re: [Openstack] openstack meta-data
> 
> Hello,
> thanks for the help! I hadn't seen the command in the documentation, this can 
> be helpful.
> BTW my problem is to update metadata every time a machine is launched.
> For example let's talk about the hostname. Every time I launch a machine, I 
> would like to have well-configured metadata, with the
> parameter public-hostname already set to a customized value. I don't want the 
> instance name as public-hostname.
> 
> I hope I was clear and thanks again for the help, Francesco
> 
> 
> 
> On Sat, 2013-09-14 at 07:18 +0000, Tim Bell wrote:
> > You can update the metadata associated with an instance using the 'nova 
> > meta' command. However, this only updates the metadata
> (i.e.
> > key value pairs) rather than the other attributes.
> >
> > Changing the server name would not alter the hostname of the VM, it would 
> > only alter the description in Nova.
> >
> > Can you explain a little more what you would like to be doing ?
> >
> > Tim
> >
> > > -----Original Message-----
> > > From: Francesco Ceccarelli [mailto:cecca...@fnal.gov]
> > > Sent: 14 September 2013 00:11
> > > To: openstack@lists.openstack.org
> > > Subject: [Openstack] openstack meta-data
> > >
> > > Is it possible to update instance meta-data, for example to set the 
> > > public hostname?
> > >
> > > Thanks in advance,
> > > Francesco
> > >
> > >
> > > _______________________________________________
> > > Mailing list: 
> > > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> > > Post to     : openstack@lists.openstack.org
> > > Unsubscribe :
> > > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to