Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Instance IP configuration without DHCP

Its very stupid question but just want to make sure whether it is possible or not. I have openstack running with FLAT networking without DHCP agent. I have all VM directly connected to existing network in bridging mode. I have configured IP POOL 10 IPs. when i launch instance Openstack assigned IP to VM and configured all iptables & security rules. but on VM i have to configured that IP manually because i don't have DHCP.

Is there any method when my instance launch it use API or whatever method to obtain its IP from openstack and configure ifcfg-eth0 file so i don't need configure IP manually :(

is it possible with cloud-init ?