pcluster-config
Updates the AWS 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 AWS ParallelCluster version 2.9.0.
Sub-commands
pcluster-config convert
pcluster-config convert [ -h ] [ -c
CONFIG_FILE
] [ -tCLUSTER_TEMPLATE
] [ -oOUTPUT_FILE
]
Named arguments
-h, --help
-
Shows the help text for
pcluster-config convert
. -c
CONFIG_FILE
, --config-fileCONFIG_FILE
-
Specifies the path of the configuration file to read.
Defaults to
~/.parallelcluster/config
.For more information, see Configuring AWS ParallelCluster.
-t
CLUSTER_TEMPLATE
, --cluster-templateCLUSTER_TEMPLATE
-
Indicates the [cluster] section to use. If this argument is not specified,
pcluster-config convert
will use the cluster_template setting in the [global] section. If that isn't specified, then the[cluster default]
section is used. -o
OUTPUT_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
.