diff options
author | Lin Tan <tan.lin.good@gmail.com> | 2015-02-21 21:45:16 +0800 |
---|---|---|
committer | Lin Tan <tan.lin.good@gmail.com> | 2015-03-04 11:46:12 +0800 |
commit | b4c919abde4394cccb6177d1d6a5e9bae9d31648 (patch) | |
tree | 5532527fa30d31f48ca0344587f366c4d3f7f12c /doc | |
parent | 389f2018924eb19a15d9204bc5474e9fb50a7421 (diff) | |
download | ironic-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.rst | 8 |
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 |