Update the quickstart doc about spawning server

Change-Id: Ib3ebb831690f07a19bf5b293d305b8d4db41e553
This commit is contained in:
liusheng 2017-07-13 09:36:09 +08:00 committed by liusheng
parent adf9828348
commit 80a0749939
1 changed files with 5 additions and 2 deletions

View File

@ -359,8 +359,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
================================