diff --git a/doc/source/tutorial/basics.rst b/doc/source/tutorial/basics.rst index d4cfb52a2..f56153699 100644 --- a/doc/source/tutorial/basics.rst +++ b/doc/source/tutorial/basics.rst @@ -57,7 +57,7 @@ you can use the following command to create a profile object: .. code-block:: console $ cd $SENLIN_ROOT/examples/profiles/nova_server - $ senlin profile-create -s cirros_basic.yaml myserver + $ openstack cluster profile create --spec-file cirros_basic.yaml myserver Check the :doc:`Profiles <../user/profiles>` section in the :doc:`User References <../user/index>` documentation for more details. diff --git a/examples/profiles/README.rst b/examples/profiles/README.rst index 9526d5654..b97b07fdf 100644 --- a/examples/profiles/README.rst +++ b/examples/profiles/README.rst @@ -7,16 +7,16 @@ Senlin profile using `senlin profile-create` command, for example: To create a os.nova.server profile:: $ cd ./nova_server - $ senlin profile-create -s cirros_basic.yaml my_server + $ openstack cluster profile create --spec-file cirros_basic.yaml my_server To create a os.heat.stack profile:: $ cd ./heat_stack/nova_server - $ senlin profile-create -s heat_stack_nova_server.yaml my_stack + $ openstack cluster profile create --spec-file heat_stack_nova_server.yaml my_stack To get help on the command line options for creating profiles:: - $ senlin help profile-create + $ openstack help cluster profile create To show the profile created::