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-answer parameter 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]
    Copy to Clipboard Toggle word wrap
  • To use an answer file for a new installation, use the --config-append parameter to specify the path and file name of the answer file to be used. The rhsc-setup command will use the answers stored in the file to complete the installation.
    # rhsc-setup --config-append=[ANSWER_FILE]
    Copy to Clipboard Toggle word wrap
    --config - replaces default system configuration.
    --config-append - appends configuration to existing system configuration.
Run rhsc-setup --help for a full list of parameters.
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat