Re: [openstack-dev] [Nova]Passing flat_injected flag through instance metadata

2014-06-02 Thread Ben Nemec
On 05/30/2014 05:29 PM, ebaysf, yvempati wrote: Hello all, I am new to the openstack community and I am looking for feedback. We would like to implement a feature that allows user to pass flat_injected flag through instance metadata. We would like to enable this feature for images that

Re: [openstack-dev] [Nova]Passing flat_injected flag through instance metadata

2014-06-02 Thread ebaysf, yvempati
Hi, Thanks for getting back to me. The current flat_injected flag is set in the hypervisor nova.conf. The config drive data uses this flag to set the static network configuration. What I am trying to accomplish is to pass the flat_injected file through the instance metadata during the boot time

Re: [openstack-dev] [Nova]Passing flat_injected flag through instance metadata

2014-06-02 Thread Vishvananda Ishaya
We have discussed this a bunch in the past, and the right implementation here is to put the network configuration in a standard format (json?) in both the config drive and metadata. cloud-init can be modified to read from that format and write out a proper /etc/network/interfaces (or

Re: [openstack-dev] [Nova]Passing flat_injected flag through instance metadata

2014-06-02 Thread Ben Nemec
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Then I think the answer to the original question is that this requires a new spec, unless one already exists? - -Ben On 06/02/2014 12:50 PM, Vishvananda Ishaya wrote: We have discussed this a bunch in the past, and the right implementation here is