Kickstart Installs of FC2
MW Mike Weiner (5028)
MWeiner at ag.com
Wed Jun 22 14:18:36 UTC 2005
> However I have a new issue this morning, I fire up the test box, it
> goes out, gets an IP, gets the kickstart script, begins the install
> albeit in an X window (strange as I told kickstart to skipX - though I
> believe that's for setting up the client X), all goes well until it
> hits an RPM it seems not to like and throws up the standard error:
>
This is possibly a stupid question but ...
'skipx' ... or 'skipX'?
--
No such thing as a stupid question, here for clarity is my ks.cfg file I
am currently using:
[root at yum1 temp]# more /tftp/ks-fc2.cfg
# Kickstart file automatically generated by anaconda.
install
nfs --server=10.10.232.54 --dir=/repo/fedora/linux/core/2/i386/os
lang en_US.UTF-8
langsupport --default en_US.UTF-8 en_US.UTF-8
keyboard us
skipx
network --device eth0 --bootproto dhcp --hostname ag800
# network --device eth1 --bootproto dhcp --hostname ag800
rootpw --iscrypted $1$.pio2FpF$qdZBN7oU0oOG6R3oV6y5X.
firewall --disabled
selinux --disabled
authconfig --enableshadow --enablemd5
timezone America/New_York
bootloader --location=mbr --append rhgb quiet
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
clearpart --linux
part /boot --fstype ext3 --size=101
part /disk2 --fstype ext3 --size=12289
part / --fstype ext3 --size=12289
part swap --size=2048
part /weblog --fstype ext3 --size=1 --grow
%packages --resolvedeps
@ web-server
@ mail-server
@ dns-server
@ dialup
@ network-server
@ sql-server
@ editors
@ admin-tools
@ system-tools
@ news-server
@ smb-server
@ authoring-and-publishing
@ sound-and-video
@ server-cfg
@ graphics
@ ftp-server
@ development-tools
@ engineering-and-scientific
@ text-internet
kernel-smp
grub
e2fsprogs
%post
# run rpm error report
rpm -Va --nofiles --nomd5 >> /tmp/rpm-problems.txt
# add another nameserver
echo "10.10.1.13 server.local server" >>
/etc/resolv.conf
echo "nameserver 10.10.1.24" >> /etc/resolv.conf
echo "nameserver 10.10.1.55" >> /etc/resolv.conf
# Update thyself
yum -y update
# The Last Thing happening in Kickstart:
# get a file via TFTP which indicates we are done.
echo "get Kickstart_end" | /usr/bin/tftp 10.10.232.54
Michael
More information about the Kickstart-list
mailing list