Product SiteDocumentation Site

4.2. Global and Model Configuration

The default Revisor configuration file, /etc/revisor/revisor.conf consists of multiple sections (the file is in .INI format). One is the [revisor] global section, where you specify configuration options that apply to each other section or Model.
The options specified in the global and model configuration sections apply to the Revisor compose in the following order:
  1. The options from the global section are read, tested and set.
  2. The options from a model section are read, tested and set, regardless of whether the global section had caused the setting to be set to a certain value already.
For example, if you know all the models in a configuration file are optical live media products, the configuration sections could look like the following:
Example 4.1. Example revisor.conf global vs. model configuration
[revisor]
# Optical live media for all models
media_live_optical = 1

[model1]
main = /etc/revisor/conf.d/revisor-model1.conf
description = The model1 product
architecture = i386
# This is already configured in the global section of
# this configuration file and can thus be removed.
#media_live_optical = 1

When Running the GUI

Note that when running Revisor in Graphical User Interface mode, you can still change a lot of the settings supplied by Revisor through the configuration files loaded. When you are running Revisor in GUI mode, the configuration files supply the defaults.