Subversion Repositories livecd

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 beyerle@PS 1
###############################################################
2
#
3
# Configuration file for the LiveCD build scripts
4
# 
5
# This file will be sourced
6
#
7
# Urs Beyerle, PSI
8
#
9
###############################################################
10
 
11
# KERNEL = Kernel version of the LiveCD. 
105 beyerle@PS 12
# Change it to "2.6.9-42.0.3.EL" for example, if you are 
13
# building the LiveCD with a different kernel than the one 
14
# you are actually running
15
# 
16
# if the SMP version of the $KERNEL is installed, 
1 beyerle@PS 17
# it will also be included in the LiveCD
18
#KERNEL="`uname -r`"
113 beyerle@PS 19
#KERNEL=2.6.9-42.0.3.EL
146 beyerle@PS 20
KERNEL=2.6.18-53.1.13.el5
1 beyerle@PS 21
 
105 beyerle@PS 22
# The OS release $OS_RELEASE is defined by following option: 
23 beyerle@PS 23
# -sl4  -> for SL4, RHEL4, CentOS4 -> OS_RELEASE=4
24
# -sl5  -> for SL5, RHEL5, CentOS5 -> OS_RELEASE=5
1 beyerle@PS 25
 
105 beyerle@PS 26
# name of initrd image (do not change this)
1 beyerle@PS 27
INITRDIMG=initrd
28
 
105 beyerle@PS 29
# define blocksize of initrd
1 beyerle@PS 30
INITRD_BLOCKSIZE=1024
31
[ "$OS_RELEASE" = "5" ] && INITRD_BLOCKSIZE=4096
32
 
105 beyerle@PS 33
# compressed directories (img) will be stored here
1 beyerle@PS 34
# (the whole folder will be erased in advanced!)
35
CDDATA=/tmp/live_data_$$
36
 
37
# Define default runlevel for your LiveCD
38
RUNLEVEL=5
39
 
23 beyerle@PS 40
# Name of local user
41
LOCALUSER=sluser
42
 
43
# Default hostname
44
DEFAULT_HOSTNAME=slinux
45
 
1 beyerle@PS 46
# The size of the RAM disk (in KBytes)
47
# normally you do not have to change this
48
RAM0SIZE=10000
49
 
105 beyerle@PS 50
# to be save, we use RAM0SIZE * 5 for ramdisk_size boot option
1 beyerle@PS 51
RAMDISK_SIZE=$(( $RAM0SIZE * 5 ))
52
 
53
# Define default boot options
54
# normally you do not have to change this
109 beyerle@PS 55
BOOT_OPTIONS="max_loop=32 ramdisk_size=$RAMDISK_SIZE root=/dev/ram0 rw"
1 beyerle@PS 56
 
105 beyerle@PS 57
# add vga=791 for SL4
23 beyerle@PS 58
[ "$OS_RELEASE" = "4" ] && BOOT_OPTIONS="$BOOT_OPTIONS vga=791"
59
 
1 beyerle@PS 60
# Define extra boot parameters, for example: pw=mypassword kb=us
61
# for more, see http://linux.web.psi.ch/livecd/parameter.html
62
#EXTRA_BOOT_OPTIONS="nopasswd kb=sg-latin1"
63
#EXTRA_BOOT_OPTION="rhgb"
64
 
65
# Define failsafe boot option
66
# used if you boot with label "failsafe"
113 beyerle@PS 67
FAILSAFE_BOOT_OPTIONS="nonet simplex apm=off acpi=off noapic nofstab"
1 beyerle@PS 68
 
69
# Define default desktop windows manager and default login manager
70
# (will be put in /etc/sysconfig/desktop)
71
#DESKTOP=KDE
72
#DISPLAYMANAGER=GNOME
73
 
74
# Services which are off (not running) on the LiveCD
75
SERVICES_OFF="microcode_ctl cups yum xinetd afs rhnsd nfslock ip6tables \
76
              mdmonitor mdmpd hpoj sendmail sshd portmap snmptrapd \
77
              snmpd smartd cups-config-daemon sysstat lm_sensors exim \
78
              ntpd httpd irqbalance firstboot clamd yum-updatesd kdump \
113 beyerle@PS 79
              auditd rpcidmapd autofs ricci modclusterd xend xendomains"
1 beyerle@PS 80
 
81
# Services which are on (running) on the LiveCD
113 beyerle@PS 82
[ "$OS_RELEASE" = "4" ] && SERVICES_ON="apmd acpid pcmcia haldaemon autofs"
83
[ "$OS_RELEASE" = "5" ] && SERVICES_ON="apmd acpid pcmcia haldaemon \
84
                                        NetworkManager NetworkManagerDispatcher"
1 beyerle@PS 85
 
86
# Most probably the LiveCD will not boot with SELinux enabled !  
87
# SELinux can also be disabled with boot parameter "enforcing=0"
88
SELINUX=disabled
89
#BOOT_OPTIONS="$BOOT_OPTIONS enforcing=0"
90
 
91
# Set the root password after building the LiveCD
92
# (done in restore-system.sh)
93
#SET_ROOTPWD=yes
94
 
95
# Define LiveCD OS string (can be anything you like)
96
LIVECD_OS="SL${OS_RELEASE}"
97
 
98
# LiveCD Label (can be anything you like)
99
CDLABEL="${LIVECD_OS}LIVECD"