-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
1,153 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
source/how-tos/app-development/interactive/global-submit.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Setting Batch Connect Options Globally | ||
-------------------------------------- | ||
|
||
All of these configuration items can also be applied globally to the entire cluster | ||
in the cluster definition files under ``/etc/ood/config/clusters.d/``. If set globally, | ||
the option is applied to all applications in that cluster. | ||
|
||
Here's an example of how to set the ``header`` configuration for both vnc and basic | ||
templates. | ||
.. code-block:: yaml | ||
v2: | ||
batch_connect: | ||
basic: | ||
header: "#!/bin/bash" | ||
vnc: | ||
header: "#!/bin/bash" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
.. _submit-yml-erb: | ||
|
||
submit.yml.erb | ||
============== | ||
|
||
This is the file that is submitted to a batch connect job. It is comprised | ||
of a ``script`` and a ``batch_connect`` attribute. The ``batch_connect`` | ||
attribute can either be a ``basic`` template if your app is already an | ||
http server or a ``vnc`` template if you need VNC capabilities. | ||
|
||
These are reference pages, you can see | ||
:ref:`app-development-interactive-submit` for a broader overview. | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
submit-yml/basic-bc-options | ||
submit-yml/vnc-bc-options | ||
submit-yml/script | ||
|
||
Simple Example | ||
-------------- | ||
|
||
.. code-block:: yaml | ||
# a simple script.yml.erb file | ||
script: | ||
native: | ||
- "-n" | ||
- "1" | ||
batch_connect: | ||
template: "basic" | ||
header: "#!/bin/bash" | ||
.. include:: ../../how-tos/app-development/interactive/global-submit.inc |
Oops, something went wrong.