Skip to content

Commit

Permalink
edits after dev suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
bfallonf committed Apr 28, 2015
1 parent 9ccc435 commit b17f288
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions dev_guide/templates.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,9 @@ name of the project:
The template is now available to be selected for a configuration using the
Management Console or the CLI.

Alternatively, you can upload a template then create from the same template by
piping both commands:
Alternatively, you can create from a template without uploading it to the
template library by processing the template and creating from the same template
by piping both commands:

****
`osc process -f _<filename.json>_ | osc create -f -`
Expand All @@ -97,10 +98,9 @@ Generate a configuration with the following command:
****

You can override any link:../dev_guide/templates.html#parameters[parameters]
defined in the JSON configuration file by adding the `-v` option and any desired
parameters. For example, you can override the *`ADMIN_USERNAME`* and
*`MYSQL_DATABASE`* parameters to create a JSON string with customized
environment variables:
defined in the JSON file by adding the `-v` option and any desired parameters.
For example, you can override the *`ADMIN_USERNAME`* and *`MYSQL_DATABASE`*
parameters to create a configuration with customized environment variables:

.Generating a Configuration
====
Expand All @@ -112,10 +112,9 @@ ADMIN_USERNAME=root,MYSQL_DATABASE=admin
====

The JSON string can either be redirected to a file or applied directly by piping
the process output to the `create` command:
The JSON file can either be redirected to a file or applied directly without
uploading the template by piping the process output to the `create` command:

.Applying the JSON String
====
----
Expand Down

0 comments on commit b17f288

Please sign in to comment.