Show Table of Contents
2.4. Configuring Red Hat Satellite with an Answer File
The following task shows how to configure Red Hat Satellite Server with an answer file.
Procedure 2.6. Configuration Using an Answer File
Answer files are used for automated installations with customized options. To configure and use an answer file for installation:
- Copy the default answer file located at
/etc/katello-installer/answers.katello-installer.yamlto a location on your local filesystem:#
cp/etc/katello-installer/answers.katello-installer.yaml /etc/katello-installer/my-answer-file.yamlNote
The initial answer file will be sparsely populated. However, oncekatello-installeris run for the first time, the answer file is populated with the standard parameter values for installation. - Open your copy of the answer file in your preferred text editor and edit the values to suit your environment. Save your answer file once you have finished editing it.
Note
The parameters for each module are specified in the module'sparams.ppfile. Available modules with parameter files can be viewed by executing the command:#
rpm -qlkatello-installer | grep params.pp - Open the
/etc/katello-installer/katello-installer.yamlfile in your preferred text editor and edit the answer file entry to point to your custom answer file::answer_file: /etc/katello-installer/my-answerfile.yaml
- Run the
katello-installercommand.# katello-installer
Result:
Satellite is configured on your host system with your desired configuration.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.