100% non interactive install needed if possible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Folks,

I would like to be able to setup my kickstart setup
for redhat 7.2 to be as non interactive as possible.
Currently I have my ks.cfg on an nfs server
doing an nfs install. It works well but It still
asks quite a bit of info before starting the
gui and going noninteractive.

1. I am booting from a floppy using the bootnet.img

2. I type "linux ks=nfs:137.236.77.83:/root/redhat7.2/ks.cfg"
   at the prompt. is there a way to get rid of this
   needed command? )

3. Next is asks about my language. Can I eliminate this
   question?

4. Next it asks about my keyboard. I throught I had this
   in my ks.cfg file. How can I get rid of this question?

5. Next it asks what media type contains the packages.
   Can I eliminate this question?

6. It now asks about my tcpip settings.. I thought it used dhcp?

7. Next it asks for an nfs server to use.. isnt this
   contained in my ks.cfg file it already got?
   "install nfs --server 137.236.77.83 --dir /root/redhat7.2

I am throughly confused on how to make this install totally
non interactive. I just want to be able to put in a floppy and boot.
Any help you can offer would be appriciated.

My ks.cfg file is included below..

Thanks,
Mike

#--------------------
install --server 137.236.77.83 --dir /root/redhat7.2
lang en_US
langsupport --default en_US en_US
keyboard us
mouse genericps/2 --device psaux --emulthree
skipx
network --device eth0 --bootproto static --ip 137.236.77.25 --netmask
255.255.255.0 --gateway 137.236.77.100 --nameserver 137.236.30.88 --hostname
testbox
rootpw --iscrypted abc123abc123acb123abc123
firewall --disabled
authconfig --enableshadow --enablemd5
timezone America/New_York
bootloader
zerombr yes
reboot
clearpart --all
part / --fstype ext3 --badblocks --size=500 --asprimary
part /usr --fstype ext3 --badblocks --size=3000 --asprimary
part swap --badblocks --size=512 --asprimary
part /var --fstype ext3 --badblocks --size=500
part /xdds --fstype ext3 --badblocks --size=1 --grow

%packages
@ Printing Support
@ Sound and Multimedia Support
@ Network Support
@ Dialup Support
@ Messaging and Web Tools
@ Server
-ghostscript-fonts
-talk-server
-curl-devel
-cipe
-esound-devel
rsync
gnuplot
-curl
arpwatch
-ypserv
lynx
VFlib2-devel
-rp-pppoe
-cdlabelgen
-micq
-rcs
-printconf
-sox
-ppp
-aumix
iptraf
-nmh
-krbafs-devel
-wvdial
kernel-source
-minicom
-watanabe-vf
rwall
-efax
-pam_krb5
-libogg-devel
-chkfontpath
shapecfg
-radvd
openssl-perl
-krb5-devel
-yp-tools
-arts
ElectricFence
-cdrecord
-texinfo
-screen
-openldap-clients
-krbafs
-finger
-vorbis
-pnm2ppa
-desktop-backgrounds
-libvorbis-devel
-perl-File-MMagic
-up2date
-finger-server
-cdp
gsm-devel
-stunnel
-rhn_register
libcap
-sgml-tools
-ypbind
ORBit
-mpage
-gnupg
-LPRng
-isdn4k-utils
-lrzsz
-nss_ldap
-urw-fonts
-groff-perl
-awesfx
-XFree86-xfs
-wget
expect
-cyrus-sasl-devel
-mpg321
pdksh
-e2fsprogs-devel
-esound
lslk
-ttfonts-ja
-memprof
-sendmail-cf
-mutt
-libao
-talk
-playmidi
-sndconfig
-rusers
zsh
-cdparanoia
sysreport
-pinfo
-statserial
zip
-metamail
-gsm
-cdda2wav
-libao-devel
-fetchmail
-libvorbis
-ghostscript
unzip
audiofile-devel
tcllib
tk
-mikmod
-cdrecord-devel

%post
/usr/sbin/useradd mcp
chfn -f 'mcp' mcp
/usr/sbin/usermod -p 'abc123abc123acb123abc123' mcp
echo "nameserver 137.236.30.91" >> /etc/resolv.conf
rm /etc/motd
rm /etc/profile.d/colorls.*
chkconfig --level 23 gpm off
chkconfig --level 23 sendmail off
chkconfig --level 23 netfs off
chkconfig --level 23 apmd off
chkconfig --level 23 ipchains off
chkconfig --level 23 iptables off
chkconfig --level 23 autofs off
chkconfig --level 23 nfslock off





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux