Ask Your Question

Revision history [back]

In order to boot a VM with a specific IP address you need to create an OpenStack Networking port with a specific IP address first, and then boot a VM specifying a port-id rather than a net-id.

neutron port-create net1 --fixed-ip ip_address=192.168.2.40 <net-id>
nova boot --image <img> --flavor <flavor> --nic port-id=<port-id> <vm-name>

Here cli commands about ports. Hope this is what you were searching for.