bbenedetto> I can kickstart RHEL 7.2 with no problems.
bbenedetto> And I can kickstart CentOS 7.2 also with no problems.
bbenedetto> But every time I try to kickstart CentOS 6.6, it instead
bbenedetto> prompts me to "Choose a Language" and I end up doing a
bbenedetto> manual install. During that session I can interactively
bbenedetto> go through the menus and point to my CentOS 6.6 repo and
bbenedetto> do the install that way which works just fine.
Debugging these problems is a total pain. I've ended up doing it on a
system where I can do Ctl-Alt-F1/2/3/4 so I can look at the logs and
find out what's going wrong.
Right now I've got working setups for RHEL6.6 which I'd be happy to
share:
# Generated by Kickstart Configurator
# Look at this web page for kickstart tricks using the %pre stuff
#
# http://www.spinics.net/linux/fedora/kickstart/msg05718.html
#
text
# System language
lang en_US
# System keyboard
keyboard us
# Sytem timezone
timezone America/New_York
# Root password
rootpw --iscrypted $1$wouldntyouliketoknow
# Reboot after installation
reboot
# Install Red Hat Linux instead of upgrade
install
# Use NFS installation Media
nfs --server=PKGSERVER --dir=PKGDIR/rhel-server-6.6-x86_64
# System bootloader configuration, turns of HyperThreading by default
bootloader --location=mbr --append=""
# Add CCISS to list of potential devices to use, one device per-line!
New in RHEL6...
device cciss
#device mptsas
# SELINUX - turn off
selinux --disabled
# Turn on a VNC console
#vnc
# Clear the Master Boot Record
zerombr
# Partition clearing information
#clearpart --drives=cciss/c0d0 --all --initlabel
#
# Now we pre-compute what we'll do in a %pre script, to handle one or
two
# disks, and whether they are scsi or ide
#
%include /tmp/part-include
#
# System authorization infomation
auth --useshadow --enablemd5
# Network information
network --device=INTERFACE --bootproto=static --ip=IPADDRESS
--netmask=NETMASK --gateway=GATEWAY --nameserver=NAMESERVER
--hostname=HOSTNAME
# Firewall configuration
firewall --disabled
# Do not configure XWindows
skipx
# Skip asking for "Installation Number"
key --skip
# Package install information
%packages
@Additional Development
@Base
@Desktop
.
.
.
%end
%post
# Reboot notification script
wget -nv -O /etc/rc3.d/S99reboot http://209.243.162.9/files/S99reboot
chmod +x /etc/rc3.d/S99reboot
cat >> /etc/sysconfig/network <<EOF
nisdomain="NISDOMAIN"
EOF
cat >> /etc/sysconfig/network-scripts/ifcfg-INTERFACE <<EOF
NM_CONTROLLED="no"
EOF
# Setup generic fstab entry for tmpfs
cat >> /etc/fstab <<EOF
#
# setup tmpfs for /tmp and /var/tmp
#
tmpfs /tmp tmpfs size=50G
0 0
tmpfs /var/tmp tmpfs size=20G
0 0
EOF
# Setup the clock
cat > /etc/sysconfig/clock <<EOF
ZONE="America/New_York"
UTC=true
ARC=false
EOF
# Turn on/off specific daemons we need
chkconfig --levels 345 ypbind on
chkconfig --levels 345 ntpd on
chkconfig mdmonitor off
# Make sure Network Manager is killed off
chkconfig NetworkManager off
Good luck, and feel free to reach out if you have questions.
John
_______________________________________________
Tech mailing list
[email protected]
https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
http://lopsa.org/