Merge "Update the quickstart doc about spawning server"

This commit is contained in:
Jenkins 2017-07-13 12:03:10 +00:00 committed by Gerrit Code Review
commit d9e040fe6b
1 changed files with 5 additions and 2 deletions

View File

@ -362,8 +362,11 @@ Source credentials, and spawn a server as the ``demo`` user::
# query the image id of the default cirros image
image=$(openstack image show $DEFAULT_IMAGE_NAME -f value -c id)
# spawn server
As our moganclient is not ready now, will add this soon...
# query the private network id
net=$(openstack network show private -f value -c id)
# spawn a server
openstack baremetal server create --flavor $MOGAN_DEFAULT_FLAVOR --nic net-id=$net --image $image test
Building developer documentation
================================