Changes

Jump to navigation Jump to search
1,740 bytes added ,  19:52, 13 February 2011
Line 205: Line 205:  
  cp /root/anaconda-ks-custom.ks /kickstart/rhel6-dextrose-install.ks
 
  cp /root/anaconda-ks-custom.ks /kickstart/rhel6-dextrose-install.ks
   −
- We modify the kickstart file to give various other options (update, raid system) and copy those to /kickstart/ too, which will be chosen from a startup menu
+
- We modify the kickstart file to give various other options (update, raid system) and copy those to /kickstart/ too, which will be chosen from a startup menu. The first example kickstart file is pasted below and was created with the visual tool. Later versions are always easier to create by simple search and replace.:
 +
 
 +
 
 +
[A#platform=x86, AMD64, or Intel EM64T
 +
#version=DEVEL
 +
# Firewall configuration
 +
firewall --enabled --http --ssh
 +
# Install OS instead of upgrade
 +
install
 +
# Use NFS installation media
 +
nfs --server=10.0.0.1 --dir=kickstart/rhel6
 +
# Root password
 +
rootpw --iscrypted $1$qx3BGJ1t$boTGmbtFhwf97FCtZZmmX1
 +
#  Network information
 +
network  --bootproto=dhcp --device=eth0 --onboot=on
 +
# System authorization information
 +
auth  --useshadow  --passalgo=sha256
 +
# Use graphical install
 +
graphical
 +
# Run the Setup Agent on first boot
 +
firstboot --reconfig
 +
# System keyboard
 +
keyboard us
 +
# System language
 +
lang en_US
 +
# SELinux configuration
 +
  selinux --disabled
 +
# Installation logging level
 +
logging --level=info
 +
# Reboot after installation
 +
reboot
 +
# System timezone
 +
timezone  America/Montevideo
 +
# System bootloader configuration
 +
bootloader --append="rhgb quiet" --location=mbr
 +
# Clear the Master Boot Record
 +
  zerombr
 +
# Partition clearing information
 +
clearpart --all --initlabel
 +
# Disk partitioning information
 +
part swap --asprimary --fstype="swap" --size=1024
 +
part / --asprimary --fstype="ext4" --grow --size=1
 +
 
 +
%packages
 +
@additional-devel
 +
@base
 +
@compat-libraries
 +
@console-internet
 +
@emacs
 +
@fonts
 +
@input-methods
 +
@internet-browser
 +
@legacy-unix
 +
@legacy-x
 +
@mysql
 +
@mysql-client
 +
@network-file-system-client
 +
@network-server
 +
@network-tools
 +
@nfs-file-server
 +
@performance
 +
@php
 +
@server-platform-devel
 +
@spanish-support
 +
@system-admin-tools
 +
@system-management-messaging-client
 +
@system-management-messaging-server
 +
@web-server
 +
@x11
 +
crypto-utils
 +
 
 +
%end
36

edits

Navigation menu