Name
[Windows Manager]
Installation_folder\RCXCFMG\bin\cfmg_addtemplate - Registering Template Information
[Linux Manager]
/opt/FJSVcfmg/bin/cfmg_addtemplate - Registering Template Information
Synopsis
cfmg_addtemplate [-id Template ID] [-name Template name] -xml Template information file path
Functional Description
This command registers template information.
The template ID that has been allocated is output using the following XML format:
<?xml version="1.0" encoding="UTF-8"?> <result> <id>[Template ID]</id> </result> |
Options
This option specifies the template ID using a string of up to 32 printable ASCII.
A registration error will occur if the template ID is already being used.
If this option is specified, it takes priority over information in the template information file.
If this option is omitted, an ID will be automatically created.
This option specifies the name of the template using a string of up to 85 printable ASCII characters.
If the software name includes spaces, enclose the name in double quotes.
If this option is specified, it takes priority over information in the template information file.
If this option is omitted, the template name in the template information is enabled.
If this option is omitted and there is no template name written in the template information, an error will occur.
This option specifies the absolute or relative path to the template information file, using a string of printable ASCII characters.
If the path includes spaces, enclose the path in double quotes.
Requirements
Infrastructure administrator with OS administrator privilege
Admin server
Example
> cfmg_addtemplate -xml sample1.xml <?xml version="1.0" encoding="Windows-31J"?> <result> <id>template-12c95768de8</id> </result>
Remarks: Encoding will be "UTF-8" with the Linux Manager.
Exit Status
This command returns the following values:
The command executed successfully.
An error has occurred.