Silent Installation for Linux Agent
1 min
The Linux Agent can also be installed silently by utilizing a configuration file. Instead of responding to interactive prompts during the installation process, the agent reads the required inputs directly from this file. The configuration file is provided to the agent using the -c parameter as shown below, and the file format must be structured as follows:
./setup_sc_api.sh -c /home/pamuser/config.agent
The format of the config file is as follows;
{
"download_mode":"https",
"download_host":"10.20.42.156",
"package_folder_url":"repo/linux-agent",
"package_folder_file":"/",
"hostname":"cyaman-VirtualBox",
"hostip":"10.0.2.15",
"primary_host": "10.20.42.10",
"primary_port":"443",
"agent_type":"linux",
"installation_token":"12cfe631-2b02-4482-9905-57cbd64805e5"
}