bd1e3946a5
The ">" should be replaced by "|" in the user_data section. Otherwise the lines in this section would joined together into one line. Change-Id: Id4f29d2c7ab4a40e12efbba1cfe02ece9be6d4af Signed-off-by: Alex Yang <yangyang1@zte.com.cn> |
||
---|---|---|
.. | ||
docker_container | ||
heat_stack | ||
nova_server | ||
README.rst |
How To Use the Sample Spec File
This directory contains sample spec files that can be used to create
a Senlin profile using openstack cluster profile create
command, for
example:
To create a os.nova.server profile:
$ cd ./nova_server
$ openstack cluster profile create --spec-file cirros_basic.yaml my_server
To create a os.heat.stack profile:
$ cd ./heat_stack/nova_server
$ openstack cluster profile create --spec-file heat_stack_nova_server.yaml my_stack
To create a container.dockerinc.docker profile:
$ cd ./docker_container
$ openstack cluster profile create --spec-file docker_basic.yaml my_docker
To get help on the command line options for creating profiles:
$ openstack help cluster profile create
To show the profile created:
$ openstack cluster profile show <profile_id>