File: sample.cfg

package info (click to toggle)
systemconfigurator 1.20-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 544 kB
  • ctags: 225
  • sloc: perl: 6,295; makefile: 55
file content (97 lines) | stat: -rw-r--r-- 1,908 bytes parent folder | download
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
###########################################
#
#  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.