File: systemconfig.conf.pod

package info (click to toggle)
systemconfigurator 2.0.10-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 724 kB
  • ctags: 313
  • sloc: perl: 7,423; makefile: 48
file content (273 lines) | stat: -rw-r--r-- 7,823 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
=head1 NAME

systemconfig.conf - System Configurator configuration file

=head1 DESCRIPTION

This file, by default located in /etc/systemconfig/systemconfig.conf is used by
the systemconfigurator program to determine what configuration information
should be applied to your system.

The file looks something like the following:

  # This is a comment
  [NETWORK]
  GATEWAY = 192.168.42.1
  DNS1 = 192.168.42.254

  [INTERFACE0]
  DEVICE = eth0
  TYPE = dhcp

  [INTERFACE1]
  DEVICE = eth1
  IPADDR = 192.168.64.5
  NETMASK = 255.255.255.0
  TYPE = static

The configuration is divided into blocks of two types:
	Global blocks (like [NETWORK] above), and 
	Instance blocks (like [INTERFACE0] above).  

Each instance block can have as many entries as desired.  The number following the type must be unique for each new block.

=head1 OPTIONS

The following options are available within the config file

=head1 B<[NETWORK]>

The following options exist inside of the B<NETWORK> block:

=over 4

=item B<GATEWAY>

The default network gateway for the machine.  This should be specified in
dotted decimal notation (i.e. 192.168.42.1).  On a multiple interface machine,
I<GATEWAY> will be attached to whatever I<DEVICE> was specified for B<INTERFACE0>

=item B<HOSTNAME>

The hostname for the machine.  This should be the single word short hostname,
not the fully qualified hostname.

=item B<SHORTHOSTNAME>

Whether or not to use the short hostname when setting up host names
(only affects some network modules).  The value can be YES or NO, and
defaults to NO (i.e. use fully qualified name as host name) if not
specified.

=item B<DOMAINNAME>

The domainname of the machine.  This is an optional parameter.

=item B<SEARCH>

The search list for resolv.conf.  This should be a string which looks just as
the search string in resolv.conf (i.e. "sub.domain1.com sub2.domain2.com domain1.com").

=item B<DNS1>, B<DNS2>, B<DNS3>

You can specify up to three Domain Name Servers in the configuration file.  They
should be the dotted decimal ip address of the domain name servers you wish to use.

(Note: if you are using DHCP to configure your machines, the nameservers will probably
be specified by your DHCP server, hence these variables will have no effect.)

=back

=head1 [INTERFACE\d+]

The following directives may exist for an INTERFACE\d+ block.  You may have
as many INTERFACE blocks as you like, as long as each one has a separate numeral
identifier.  (i.e. INTERFACE0, INTERFACE1, INTERFACE2 ...).

If you wish to specify a I<GATEWAY> you must specify B<INTERFACE0>.  Otherwise
there is no requirement on specifying specific B<INTERFACE> blocks.

=over 4

=item B<DEVICE>

The network device this interface corresponds to.  Should be of the format I<eth0>, I<tr0>, or whatever the device name of your network interface happens to be.

=item B<TYPE>

The protocol to use when booting.  There are three valid values for type: I<static>, I<bootp>,
and I<dhcp>.  Static indicates that a static ip will be provided, while bootp and dhcp
specify the boot protocol to use for dynamic address configuration.

=item B<IPADDR>

The static IP address to be assigned to the host.

=item B<NETMASK>

The subnet mask to be used for the host.

=back

=head1 B<[HARDWARE]>

The following variables can be assigned in the B<[HARDWARE]> section.

=over 4

=item B<ORDER>

The format of the B<ORDER> stanza is a list of module names (for example):

  [HARDWARE]
  ORDER = e1000 eepro100 pcnet32

If B<ORDER> is specified, the hardware list detected on the client
will be modified to ensure the listed modules are listed first, and in
the order specified.  This will override the normal ordering of
modules (and hence aliases for eth0...ethN) which is based on the
device's location on the pcbus.

Note: be careful when setting this, as some users have noticed that
not all modules can be loaded in any order.

=back

=head1 B<[BOOT]>

The following variables can be assigned in the B<[BOOT]> section.

=over 4

=item B<PREFERED>

This specifies the prefered boot module (i.e. Boot::Lilo or
Boot::Grub).  This can be specified in an environment where multiple
modules may be functional, and the default order System Configurator
tries them is picks one other than what the administrator desires.

=item B<ROOTDEV>

The device name that will be mounted as the root file system.  Should be 
specified in the format "/dev/hda#" or "/dev/sda#".

=item B<BOOTDEV>

This specifies which device is your boot device (generally /dev/hda or /dev/sda).
It is required by the boot loader to know where it should install itself.

=item B<TIMEOUT>

How long the boot loader should wait before booting.  This value specifies the
number of tenths of seconds to wait.  For instance, B<TIMEOUT = 50> specifies that
the boot loader pause for 5 seconds before starting the boot process.

=item B<DEFAULTBOOT>

The name of kernel to boot by default.

=item B<APPEND>

Any kernel parameters you want appended to all kernels specified in the 
KERNEL## blocks.

=item B<VGA>

Set the VGA mode for the boot process.  This defaults to 'normal'.
(Note: Currently only works for lilo)

=item B<EXTRAS>

This allows you to set any additional line you wish in the global
section of the bootloader conf.  (Note: Currently only works for lilo)

=back

=head1 [KERNEL\d+]

The following directives may exist for a KERNEL\d+ block.  You may have
as many KERNEL blocks as you like, as long as each one has a separate numeral
identifier.  (i.e. KERNEL0, KERNEL1, KERNEL2 ...).

=over 4

=item B<PATH>

The path to the kernel image.  Generally of the form B</boot/vmlinuz-2.2.17-5>.

=item B<LABEL>

A name for the kernel.

=item B<INITRD>

The initial ramdisk to be used by the kernel during boot.  This may be optional
if your boot devices are supported without additional kernel modules.  If no
initrd is specified, then systemconfigurator will attempt to create one if it
is necessary.

=item B<APPEND>

An arbitrary string to be appended to the kernel during boot.  This will often 
be used for things such as specifying single user mode, or specifying that cdrom
devices should be utilized via the ide-scsi emulation layer.

=item B<ROOTDEV>

The device (e.g. /dev/hda3) that will be used as the root file system for the kernel.
This will be inherited from the global option if not specified in the image.

=back

=head1 [TIME]

System Configurator allows for the setting of time zones in a generic way.
By default this option is enabled, however no changes to the filesystem will
be done unless valid time options are added to the stanza.  This will both
create the right I</etc/localtime> file and set any configuration variables
which are needed for normal operation.

=over 4

=item B<ZONE>

The time zone, in glibc format (e.g. I<America/New_York>).

=item B<UTC>

Whether the hardware clock is in UTC.  Defaults to true.

=back

=head1 [USEREXIT\d+]

System Configurator supports an arbitrary number of user exits.  Each
user exit will be run in turn.  The user exits are the last things run by 
systemconfigurator, so it will have full access to the client operating system.
The first user exit to return a bad exit code will stop the processing of the rest 
of the user exits.

Each user exit block takes two stanzas.

=over 4

=item B<CMD>

The command to be run (e.g. I<touch>).  If the command is not found, or not executable, this
user exit will be skipped.

=item B<PARAMS>

Any parameters needed to be passed to the command.  Future versions may allow the passing
of other variables that System Configurator has access to, but this is not yet supported.

=head1 AUTHORS

  Sean Dague <japh@us.ibm.com>
  Donghwa John Kim <johkim@us.ibm.com>
  Joe Greenseid <jgreenseid@users.sourceforge.net>

=head1 SEE ALSO

L<systemconfigurator>, L<AppConfig>, L<perl>