Installing the agent silently using a configuration file
You can automate agent installation by running the install.sh
script in non-interactive mode:
install.sh -n
In this mode, the script uses configuration details specified in the centrifyda-install.cfg
file. If this file is not found, the install.sh
script uses its built-in default values.
To specify configuration values, edit the sample centrifyda-install.cfg
file in its default location, or create a new text file with the same name, and then run the install.sh
script.
In the file, INSTALL=Y
installs the agent, and INSTALL=U
upgrades the agent.
By default, the script returns an exit code of 0
if the operation is successful. To return exit codes that provide more detailed information about the result, use:
install.sh -n --custom_rc
This return code | Indicates |
|
Successful install |
|
Successful upgrade |
|
Successful uninstall |
|
Did nothing during install |
|
Did nothing during uninstall |
|
Error during install |
|
Error during upgrade |
|
Error during uninstall |
|
Error during setup; for example, unsupported operating environment or invalid arguments |