Line -... |
Line 1... |
- |
|
1 |
#
|
- |
|
2 |
# sl6-live-base.ks
|
- |
|
3 |
#
|
- |
|
4 |
# Defines the basics for all kickstarts of sl6-live
|
- |
|
5 |
# Kickstarts including this template can override these settings
|
- |
|
6 |
#
|
- |
|
7 |
|
- |
|
8 |
lang en_US.UTF-8
|
- |
|
9 |
keyboard us
|
- |
|
10 |
timezone US/Eastern
|
- |
|
11 |
auth --useshadow --enablemd5
|
- |
|
12 |
selinux --enforcing
|
- |
|
13 |
firewall --enabled --service=mdns
|
- |
|
14 |
repo --name=base --baseurl=http://ftp.scientificlinux.org/linux/scientific/6rolling/$basearch/os/
|
- |
|
15 |
repo --name=updates --baseurl=http://ftp.scientificlinux.org/linux/scientific/6rolling/$basearch/updates/
|
- |
|
16 |
xconfig --startxonboot
|
- |
|
17 |
part / --size 4096 --fstype ext4
|
- |
|
18 |
services --enabled=NetworkManager --disabled=network,sshd
|
- |
|
19 |
|
- |
|
20 |
|
- |
|
21 |
########################################################################
|
- |
|
22 |
# Basic software packages
|
- |
|
23 |
########################################################################
|
- |
|
24 |
|
- |
|
25 |
%packages
|
- |
|
26 |
syslinux
|
- |
|
27 |
kernel
|
- |
|
28 |
|
- |
|
29 |
# basic software groups
|
- |
|
30 |
@base
|
- |
|
31 |
@core
|
- |
|
32 |
@graphical-admin-tools
|
- |
|
33 |
@network-file-system-client
|
- |
|
34 |
@network-tools
|
- |
|
35 |
@remote-desktop-clients
|
- |
|
36 |
@x11
|
- |
|
37 |
@ice-desktop
|
- |
|
38 |
@openafs-client
|
- |
|
39 |
|
- |
|
40 |
# other usefull packages
|
- |
|
41 |
busybox
|
- |
|
42 |
mailx
|
- |
|
43 |
memtest86+
|
- |
|
44 |
livecd-tools
|
- |
|
45 |
|
- |
|
46 |
# livecd bits to set up the livecd and be able to install
|
- |
|
47 |
anaconda
|
- |
|
48 |
device-mapper-multipath
|
- |
|
49 |
isomd5sum
|
- |
|
50 |
|
- |
|
51 |
%end
|
- |
|
52 |
|
- |
|
53 |
|
1 |
########################################################################
|
54 |
########################################################################
|
2 |
#
|
55 |
#
|
3 |
# LiveCD post install
|
56 |
# LiveCD post install
|
4 |
#
|
57 |
#
|
5 |
########################################################################
|
58 |
########################################################################
|
Line 293... |
Line 346... |
293 |
cp /usr/share/applications/gnome-display-properties.desktop /home/\\\$LIVECD_USER/Desktop/
|
346 |
cp /usr/share/applications/gnome-display-properties.desktop /home/\\\$LIVECD_USER/Desktop/
|
294 |
|
347 |
|
295 |
# disable screensaver locking
|
348 |
# disable screensaver locking
|
296 |
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-screensaver/lock_enabled "false" >/dev/null
|
349 |
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-screensaver/lock_enabled "false" >/dev/null
|
297 |
|
350 |
|
298 |
# disable PackageKit update checking by default
|
351 |
# don't do packagekit checking by default
|
299 |
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t int /apps/gnome-packagekit/update-icon/frequency_get_updates "0" >/dev/null
|
352 |
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t int /apps/gnome-packagekit/update-icon/frequency_get_updates "0" >/dev/null
|
- |
|
353 |
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t string /apps/gnome-packagekit/update-icon/frequency_get_updates never >/dev/null
|
- |
|
354 |
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t string /apps/gnome-packagekit/update-icon/frequency_get_upgrades never >/dev/null
|
- |
|
355 |
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t string /apps/gnome-packagekit/update-icon/frequency_refresh_cache never >/dev/null
|
- |
|
356 |
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-packagekit/update-icon/notify_available false >/dev/null
|
- |
|
357 |
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-packagekit/update-icon/notify_distro_upgrades false >/dev/null
|
- |
|
358 |
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-packagekit/enable_check_firmware false >/dev/null
|
- |
|
359 |
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-packagekit/enable_check_hardware false >/dev/null
|
- |
|
360 |
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-packagekit/enable_codec_helper false >/dev/null
|
- |
|
361 |
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-packagekit/enable_font_helper false >/dev/null
|
- |
|
362 |
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-packagekit/enable_mime_type_helper false >/dev/null
|
- |
|
363 |
|
- |
|
364 |
# start system-config-firewall with sudo
|
- |
|
365 |
sed -i "s|^Exec=.*|Exec=sudo /usr/bin/system-config-firewall|" /usr/share/applications/system-config-firewall.desktop
|
- |
|
366 |
sed -i "s|^Terminal=.*|Terminal=true|" /usr/share/applications/system-config-firewall.desktop
|
300 |
|
367 |
|
301 |
|
368 |
|
302 |
### detecting disk partitions and logical volumes (disabled by default)
|
369 |
### detecting disk partitions and logical volumes (disabled by default)
|
303 |
### use boot parameter automount to enable it
|
370 |
### use boot parameter automount to enable it
|
304 |
|
371 |
|