update_siteguard_script
Updates the path and the all_hosts flag associated with any script.
Format
emcli update_siteguard_script -script_id=<script_ID> [-path=<script_path>] [-credential_type=<type_of_credential>] [-all_hosts=true|false] [ ] indicates that the parameter is optional
Options
-
script_id
ID associated with the script.
-
path
Optional path to the script.
-
credential_type
Type of credential, which can be either HostNormal or HostPrivileged.
-
all_hosts
Enables the script to run on all the hosts in the system. For example: true or false.
Examples
emcli update_siteguard_script -script_id="10" -path="/tmp/newprescript" -all_hosts="true" emcli update_siteguard_script -script_id="16" -path="/tmp/script" -credential_type="HostPrivileged"