pcluster-config
Updates the Amazon ParallelCluster configuration file.
pcluster-config [ -h ] [convert]
For command-specific flags, run: pcluster-config [command] –h.
Named arguments
-h, --help-
Shows the help text for
pcluster-config.
Note
The pcluster-config command was added in Amazon ParallelCluster version 2.9.0.
Sub-commands
pcluster-config convert
pcluster-config convert [ -h ] [ -cCONFIG_FILE] [ -tCLUSTER_TEMPLATE] [ -oOUTPUT_FILE]
Named arguments
-h, --help-
Shows the help text for
pcluster-config convert. -cCONFIG_FILE, --config-fileCONFIG_FILE-
Specifies the path of the configuration file to read.
Defaults to
~/.parallelcluster/config.For more information, see Configuring Amazon ParallelCluster.
-tCLUSTER_TEMPLATE, --cluster-templateCLUSTER_TEMPLATE-
Indicates the [cluster] section to use. If this argument is not specified,
pcluster-config convertwill use the cluster_template setting in the [global] section. If that isn't specified, then the[cluster default]section is used. -oOUTPUT_FILE, --outputOUTPUT_FILE-
Specifies the path of the converted configuration file to be written. By default, the output is written to
STDOUT.
Example:
$pcluster-config convert -t alpha -o ~/.parallelcluster/multiinstance
Converts the cluster configuration specified in the [cluster alpha] section of
~/.parallelcluster/config, writing the converted configuration file to
~/.parallelcluster/multiinstance.