Hi, all.

I'm trying to customize a CentOS installation cd, but got trouble with 
kickstart.

I want to use dialog[1] for command line based user interface, but it can't 
display correctly in kickstart with CentOS 5.5. Same ks file works with CentOS 
5.3 (both i386 and x86_64).

What's the different between CentOS 5.3/5.5? I can't find it in release notes.
And how can i fix it?
Thanks very much. :)

My ks file:

# ==========
install
cdrom
key --skip
auth  --useshadow  --enablemd5
keyboard us
lang en_US
logging --level=debug
selinux --disabled
skipx
timezone Asia/Hong_Kong
text
services --enabled=network
bootloader --location=mbr
zerombr
clearpart --all --initlabel 
rootpw --iscrypted $1$h7EtIFv4$R9JQ4aCOVN7E9ml3A2SXv.
firstboot --disable
network --onboot=yes --bootproto=dhcp --hostname='iredos.iredmail.org'
part swap --bytes-per-inode=4096 --fstype="swap" --size=512
part / --bytes-per-inode=4096 --fstype="ext3" --grow --size=1
%packages --excludedocs
basesystem
dialog

%post --nochroot
echo "* Mount CDROM"
mkdir -p /mnt/sysimage/mnt/
mount -t iso9660 /tmp/cdrom /mnt/sysimage/mnt

%post
# Run in chrooted env.
echo "* Export LC_ALL"
export LC_ALL=C

echo "* Set TERM"
export TERM='linux'

echo "* Set PATH"
export 
PATH="/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"
dialog --yesno "Yes or no" 0 0
# ======== END KS =========

[1] dialog: http://hightek.org/dialog/
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to