How I fixed this for my case (it may be that cloud-init can't set netowrking on redhat clones): 0. No cloud-init needed
1. In nova.conf: force_config_drive = True config_drive_cdrom = True flat_injected = True libvirt_inject_partition=-1 2. Replace /usr/share/nova/interfaces.template with this: {% for ifc in interfaces -%} ###################### start DEVICE="{{ ifc.name }}" NM_CONTROLLED="no" ONBOOT=yes TYPE=Ethernet BOOTPROTO=static IPADDR={{ ifc.address }} NETMASK={{ ifc.netmask }} BROADCAST={{ ifc.broadcast }} GATEWAY={{ ifc.gateway }} ### DNS={{ ifc.dns }} ###################### end {%- endfor %} 3. Have my own script mount /dev/disk/by-label/config-2 and parse openstack/latest/meta_data.json for domain name and network info file On Tue, Nov 19, 2013 at 12:19 PM, Cristian Falcas <cristi.fal...@gmail.com> wrote: > Hi again, > > After all it seems that no IP is put in the config drive files. > > I'm using flat networking with neutron. > > Does anybody know how the instances IP is retrieved for config drive? > > Best regards, > Cristian > > > > On Mon, Nov 18, 2013 at 7:16 PM, Cristian Falcas > <cristi.fal...@gmail.com> wrote: >> Hello list, >> >> I'm trying to setup an oracle linux 6.4 to take the networking >> information from config drive instead of metadata server (no dhsp >> server allowed). >> >> The iso is attached to the image and i can access it after boot. >> >> But cloud-init (0.7.2) doesn't do anything with the information from >> there and after boot there is no IP assigned. >> >> Can someone help me with understanding what configuration is needed for this? >> >> Best regards, >> Cristian Falcas _______________________________________________ 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