You can perform the initial configuration of KSMG in automatic mode.
The initial configuration scenario in automatic mode involves the following steps:
This can be achieved using the following command:
/opt/kaspersky/ksmg/bin/setup.py --create-auto-install=<full path to the file for saving settings>
You cannot create a configuration file with responses a node on which manual initial configuration has been performed.
The configuration file with responses contains the network settings of the node on which the file is created. To configure KSMG on another node, you must manually edit the configuration file to replace the IP address of the current node with the IP address of the node that you want to configure. If necessary, you must also change the port numbers of the node.
This can be achieved using the following command:
/opt/kaspersky/ksmg/bin/setup.py --auto-install=<full path to the file with the saved settings>
If you want to use the password from the ADMINISTRATOR_PASSWORD environment variable for the administrator account, run the following command:
/opt/kaspersky/ksmg/bin/setup.py --auto-install=<full path to the file with the saved settings> --administrator-password-from-environment