Greetings,
I've been using kickstart to configure a small computing lab since FC2.
Generally, I've had great luck with it, but I'm having a heck of a
time trying to update my ks.cfg file (attached) to FC6. From what I can
tell, at least three things are failing in the script:
1. The root password never gets written.
2. authconfig fails with the error message (on VT1): "authconfig:
unexpected argument"
3. xconfig will not work configure xorg.conf, complaining that the
"requested resolution 1280x1024 is not supported . . . "
I'm guessing that #1 occurs because of #2. Here's my syntax for authconfig:
authconfig --enableshadow --enablemd5 --enablecache --enableldap
--enableldapauth --ldapserver=leibniz.lab.knet.edu --ldapbasedn="o=knox
college,c=us" --enablekrb5 --krb5realm=KNOX.EDU
--krb5kdc=knoxsrdr.knox.edu --krb5adminserver=knoxsrdr.knox.edu
authconfig from the commandline will fail with the same error _if_ the
quotation marks around the ldapbasedn argument are removed and, low and
behold, when I look at the anaconda-ks.cfg that is generated from the
installation that is exactly how the authconfig line is written--without
the quotes. Is this a known bug? Is there any way around it?
I'm equally flummoxed by the xconfig problems. Here are the relevant
lines from ks.cfg.
xconfig --driver=nv --depth=24 --resolution=1280x1024
--defaultdesktop=KDE --startxonboot --videoram=65535
monitor --monitor="HP A4033A 21-inch Display"
I've also tried an alternative monitor line with --hsync and --vsync
specified manually. Same luck. Again, I can configure the system with
no problem using system-config-display. Any ideas?
Thanks for your help.
Andrew Leahy
# Kickstart file automatically generated by anaconda.
# and modified by aleahy@xxxxxxxx on 12/01/06 for generic
# cluster node; assumes Fedora Core 6 install tree is
# exported by 10.32.227.66 in /usr/local/linux/fc6/
#Install OS instead of upgrade
install
#Use NFS installation Media
nfs --server=10.32.227.66 --dir=/usr/local/linux/fc6/
#Installation type
graphical
#System language
lang en_US.UTF-8
#System keyboard
keyboard us
#Sytem timezone
timezone --isUtc America/Chicago
#Root password
rootpw --iscrypted $1$c4Qz5IQb$7wN63ACkGaQLY0JPrfQ5U1
#Reboot after installation
reboot
#System bootloader configuration
bootloader --location=mbr --driveorder=hda --append="rhgb quiet" --md5pass=$1$2aNVk6e3$r66Co8OLU0fHV4UqxLwjL/
#Clear the Master Boot Record
zerombr
#Partition Information
clearpart --all --drives=hda
part /boot --fstype ext3 --size=100 --ondisk=hda
part pv.6 --size=0 --grow --ondisk=hda
volgroup VolGroup00 --pesize=32768 pv.6
logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=512 --grow --maxsize=1024
#System authorization infomation
authconfig --enableshadow --enablemd5 --enablecache --enableldap --enableldapauth --ldapserver=leibniz.lab.knet.edu --ldapbasedn "o=knox college,c=us" --enablekrb5 --krb5realm=KNOX.EDU --krb5kdc=knoxsrdr.knox.edu --krb5adminserver=knoxsrdr.knox.edu
#Network configuration
network --device=eth0 --bootproto=static --ip=10.32.229.1 --netmask=255.255.0.0 --gateway=10.32.224.1 --nameserver=10.32.230.23 --hostname=cat-01.lab.knet.edu
network --device=eth1 --bootproto=dhcp
#Firewall configuration
firewall --disable
#XWindows configuration information
xconfig --driver=nv --depth=24 --resolution=1280x1024 --defaultdesktop=KDE --startxonboot --videoram=65535
monitor --hsync="30.0 - 80.0" --vsync="50.0 - 120.0"
#Run the Setup Agent on first boot
firstboot --disable
#SELinux configuration
selinux --permissive
#Package install information
%packages
@admin-tools
@base-x
@editors
@gnome-desktop
@graphical-internet
@java-development
@kde-desktop
@printing
@system-tools
%post
sleep 600