File: sample.cfg

package info (click to toggle)
systemconfigurator 2.2.11-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 872 kB
  • ctags: 367
  • sloc: perl: 9,686; makefile: 52
file content (117 lines) | stat: -rw-r--r-- 2,158 bytes parent folder | download | duplicates (4)
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
###########################################
#
#  System Configurator Sample Configuration
#
###########################################

# Some sections of the code have nice verbose
# statements in them.  If you want to see them
# uncomment the following line.
#
#VERBOSE = 1

###########################################
#
#  Boot global section.
#
###########################################
[BOOT]
# device to be mounted as the root
ROOTDEV = /dev/sda5
# device to which boot image will be installed
BOOTDEV = /dev/sda
TIMEOUT = 50
# label of default boot image
DEFAULTBOOT = linux-multi
#APPEND = ""
#EXTRAS = "here is where you can set another arbitrary line in lilo"

###########################################
#
#  Boot image section.
#
###########################################
[KERNEL0]
# the path to the image
PATH = /boot/vmlinuz
LABEL = linux-multi
INITRD = /boot/initrd-2.4.2-2.img

[KERNEL1]
PATH = /boot/vmlinuz
LABEL = linux-single
APPEND = "single"
# "ROOTDEV" are both "global" and per kernel
# specific
ROOTDEV = /dev/sda5
INITRD = /boot/initrd-2.4.2-2.img

###########################################
#
#  Networking Setup
#
###########################################
[NETWORK]

# Host and Domain setup

HOSTNAME = bob
DOMAINNAME = janesworld.cluster

# Set up the default gateway

DEFAULTGW = 192.168.64.1

# Information for DNS resolution (up to 3 nameservers)

NAMESERVER1 = 192.168.64.1
NAMESERVER2 = 192.168.64.2

#the following is optional, if not specified will be DOMAINNAME from above
#SEARCHDOMAINS = janesworld.cluster cluster

[INTERFACE0]

# TYPE can be static, dhcp, or bootp

TYPE = static
DEVICE = eth0
IP = 192.168.64.129
NETMASK = 255.255.255.0

[INTERFACE1]

# TYPE can be static, dhcp, or bootp

TYPE = dhcp
DEVICE = eth1

[INTERFACE2]

# TYPE can be static, dhcp, or bootp

TYPE = bootp
DEVICE = tr0

# Yes... a few places in the world still do use
# token ring.

#
#  Time Zones can now be set up using SC as well
# 

[TIME]
# Zone is the time zone
ZONE = America/New_York

# is the hardware clock in UTC / GMT or not
UTC = yes

#
#  And we have USER EXITS now
#

[USEREXIT0]
CMD = echo
PARAMS = "I'm a teapot"