4.3. Automated RHN Satellite Server Installation
One option of the RHN Satellite 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:
- Follow steps 1 through 5 from Section 4.2, “RHN Satellite Installation Program”.
- Copy the example
answers.txt
file to/tmp/answers.txt
cp answers.txt /tmp/answers.txt
- Edit the file and add your organization's desired options.
- 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 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.