From b4c919abde4394cccb6177d1d6a5e9bae9d31648 Mon Sep 17 00:00:00 2001 From: Lin Tan Date: Sat, 21 Feb 2015 21:45:16 +0800 Subject: [PATCH] Add a note to dev-quickstart Devstack create multiple networks, a Network ID has to be specific when boot a instance with admin account. Change-Id: I2cc0835950a57560493ee11089d89cd3a471125c --- doc/source/dev/dev-quickstart.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/source/dev/dev-quickstart.rst b/doc/source/dev/dev-quickstart.rst index 2451751d01..01b27d644f 100644 --- a/doc/source/dev/dev-quickstart.rst +++ b/doc/source/dev/dev-quickstart.rst @@ -364,6 +364,14 @@ Source credentials, create a key, and spawn an instance:: # spawn instance nova boot --flavor baremetal --image $image --key-name default testing +.. note:: + Because devstack create multiple networks, we need to pass an additional parameter + `--nic net-id` to the nova boot command when using the admin account, for example: + + net_id=$(neutron net-list | egrep "$PRIVATE_NETWORK_NAME"'[^-]' | awk '{ print $2 }') + + nova boot --flavor baremetal --nic net-id=$net_id --image $image --key-name default testing + As the demo tenant, you should now see a Nova instance building:: nova list