How to specify auto or none for the --nic option when creating an instance

Solution In Progress - Updated -

Issue

When creating an instance, an error will occur if the --nic option is specified as auto or none.

openstack server create test-vm --flavor m1.nano --image cirros --nic auto --wait

Error Message

nics must be a list or a tuple, not <type 'unicode'>
  • To start an instance using --nic auto to automatically assign an IP address.
  • To start an instance that does not connect to any network using --nic none.

Environment

Red Hat OpenStack Platform 13.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content