summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLin Tan <tan.lin.good@gmail.com>2015-02-21 21:45:16 +0800
committerLin Tan <tan.lin.good@gmail.com>2015-03-04 11:46:12 +0800
commitb4c919abde4394cccb6177d1d6a5e9bae9d31648 (patch)
tree5532527fa30d31f48ca0344587f366c4d3f7f12c /doc
parent389f2018924eb19a15d9204bc5474e9fb50a7421 (diff)
downloadironic-b4c919abde4394cccb6177d1d6a5e9bae9d31648.tar.gz
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
Diffstat (limited to 'doc')
-rw-r--r--doc/source/dev/dev-quickstart.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/source/dev/dev-quickstart.rst b/doc/source/dev/dev-quickstart.rst
index 2451751d0..01b27d644 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