[Openstack] Metadata and File Injection
jaypipes at gmail.com
Wed Dec 14 17:28:52 UTC 2011
On Wed, Dec 14, 2011 at 9:04 AM, McNally, Dave <dave.mcnally at hp.com> wrote:
> I've recently been looking at file and metadata injection in Nova and I have
> a question relating to it.
> (BTW this is based off what I have seen in nova/virt/disk.py)
> I notice that for key/value pairs specified as metadata during boot of an
> instance these values are injected into a file /meta.js in the instance.
> However if a file (and corresponding injection location) are specified when
> booting the instance the file does not get injected.
Not on libvirt/KVM. It works on Xen, though:
> I was wondering if there was an intentional decision not to use a similar
> method to that used when injecting meta.js to inject other files? Because it
> seems to me the addition of such functionality would be fairly
I'm interested in the answer to this question as well...
> Also on a vaguely related note why is the metadata injected into a file
> rather than stored in a location where it can be retrieved from the metadata
No idea. :(
More information about the Openstack