4.3. Automated RHN Satellite Server Installation

One option of the RHN Satellite Server Installation Program allows the user to reference an answer file. This file contains pre-determined responses to all, or some, of the questions asked by the installer program. This allows the installer to run without human interaction, and may be useful in instances where Satellite deployment must be automated. An example answer file can be found in the install/ directory of the CD or ISO, and is titled answers.txt.
Follow the steps below to perform an automated install with an answer file:
  1. Copy the example answers.txt file to /tmp/answers.txt
    cp answers.txt /tmp/answers.txt
  2. Edit the file and add your organization's desired options.
  3. Once the answer file is ready, use the --answer-file option when starting the installation process from the command line:
    ./install.pl --answer-file=/tmp/answers.txt
    The RHN Satellite Server Installation Program then looks for answers in the file. For any option no filled out in the file, the Installer Program prompts the user for the missing information.