senlin/examples/profiles
Alex Yang bd1e3946a5 make the shell script correct in cirros profile
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>
2017-03-16 15:11:40 +08:00
..
docker_container Fix container profile samples and README file 2016-09-01 07:43:38 +00:00
heat_stack Fix image used in sample profiles 2017-02-16 02:20:12 -05:00
nova_server make the shell script correct in cirros profile 2017-03-16 15:11:40 +08:00
README.rst Fix a command error in doc, profile name missed 2017-03-07 14:20:03 +08:00

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>