This is the file that is submitted to a batch connect job. It is comprised
script and a
batch_connect attribute. The
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 Job Submission (submit.yml.erb) for a broader overview.
# a simple script.yml.erb file script: native: - "-n" - "1" batch_connect: template: "basic" header: "#!/bin/bash"
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
v2: batch_connect: basic: header: "#!/bin/bash" vnc: header: "#!/bin/bash"