AgentBundle - setDefaultConfigFileContent
AgentBundle - setDefaultConfigFileContent
Description :
Adds default configuration file content to an existing Agent Bundle based on configFileType.
You can set the configFileType argument to one of the following strings:
- exports
- secure
- users.local
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
groupPath | String | Path to group containing agent bundle to be modified. |
bundleName | String | Name of the agent bundle to be modified. |
configFileType | String | Configuration file type that this content represents. |
filePath | String | An absolute local NSH path to the file to be imported. |
Example
The following example sets the default contents of an exports file.
Script
blcli AgentBundle setDefaultConfigFileContent /group1 bundle1 exports /c/path/to/file
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*