Atom feed of this document
  
 

 Advanced VM creation operations

This table shows example nova and neutron commands that enable you to complete advanced VM creation operations:

Table 7.22. Advanced VM creation operations
Operation Command
Boots a VM with multiple NICs.
$ nova boot --image img --flavor flavor --nic net-id=net1-id --nic net-id=net2-id vm-name
Boots a VM with a specific IP address. First, create an Networking port with a specific IP address. Then, boot a VM specifying a port-id rather than a net-id.
$ neutron port-create --fixed-ip subnet_id=subnet-id,ip_address=IP net-id
$ nova boot --image img --flavor flavor --nic port-id=port-id vm-name
Boots a VM that connects to all networks that are accessible to the tenant who submits the request (without the --nic option).
$ nova boot --image img --flavor flavor vm-name
[Note]Note

Networking does not currently support the v4-fixed-ip parameter of the --nic option for the nova command.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page

loading table of contents...