Re: [CentOS] Re: kickstart question

2008-04-30 Thread Joshua Baker-LePain
On Wed, 30 Apr 2008 at 4:30pm, Jerry Geis wrote / I have a couple lines like: />/ />/ part / --ondisk=sda --fstype ext3 --size=2 --asprimary />/ part swap --ondisk=sda --size=4000 --asprimary />/ part /home --ondisk=sda --fstype ext3 --size=1 --asprimary --grow />/ /

[CentOS] Re: kickstart question

2008-04-30 Thread Jerry Geis
/ I have a couple lines like: />/ />/ part / --ondisk=sda --fstype ext3 --size=2 --asprimary />/ part swap --ondisk=sda --size=4000 --asprimary />/ part /home --ondisk=sda --fstype ext3 --size=1 --asprimary --grow />/ />/ in my kickstart file. />/ />/ Is there a way to

Re: [CentOS] Re: kickstart question

2008-02-02 Thread Steve Thompson
On Sat, 2 Feb 2008, nate wrote: I've read in the kickstart docs for RHEL5 that if your using DHCP name resolution won't work in %post. But in my experience it works fine, not sure why. It works fine _if_ your DHCP server also supplies the IP address(es) of your name servers. Steve

Re: [CentOS] Re: kickstart question

2008-02-02 Thread nate
Jerry Geis wrote: > > 1) It could not find the mirror. Even though I'm running DHCP I would > not resolve a name after > switching to one of the character consoles. I've read in the kickstart docs for RHEL5 that if your using DHCP name resolution won't work in %post. But in my experience it work

[CentOS] Re: kickstart question

2008-02-02 Thread Jerry Geis
Ok I found a %post section in kickstart but is it valid to put a "yum -y update" there? %post export PATH=/usr/bin:$PATH echo "Yum Update" yum -y update yum yum -y update yum clean all - I did make a %post section in my file, added the "yum -y update" (got

Re: [CentOS] Re: kickstart question

2008-02-02 Thread Alfred von Campe
Ok I found a %post section in kickstart but is it valid to put a "yum -y update" there? I usually call a post processing script that among other things does a "yum -y update" from the %post section (mounted via NFS), so calling yum directly from the %post should work. Alfred _

[CentOS] Re: kickstart question

2008-02-02 Thread Jerry Geis
Jerry Geis wrote: Is there a way that using kickstart I can tell it once its done install to go right ahead and do a "yum update" Thanks, Jerry Ok I found a %post section in kickstart but is it valid to put a "yum -y update" there? Thanks, jerry ___