Chapter 6. Automating configuration
Automated installations are created by providing the
rhsc-setup script with an answer file. An answer file contains answers to the questions asked by the rhsc-setup command.
- To create an answer file, use the
--generate-answerparameter to specify a path and file name with which to create the answer file. When this option is specified, the answers for the questions in the setup process are recorded in the answer file.rhsc-setup --generate-answer=[ANSWER_FILE]
# rhsc-setup --generate-answer=[ANSWER_FILE]Copy to Clipboard Copied! Toggle word wrap Toggle overflow - To use an answer file for a new installation, use the
--config-appendparameter to specify the path and file name of the answer file to be used. Therhsc-setupcommand will use the answers stored in the file to complete the installation.rhsc-setup --config-append=[ANSWER_FILE]
# rhsc-setup --config-append=[ANSWER_FILE]Copy to Clipboard Copied! Toggle word wrap Toggle overflow --config - replaces default system configuration.--config-append - appends configuration to existing system configuration.
Run
rhsc-setup --help for a full list of parameters.