Re: Attempting customized network install, including ks.cfg

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

 



On Thu, 2002-06-06 at 09:53, Frank McPherson wrote:

I like your return address. ;-)

> Hi  kickstarters:
> 
> I have been partially successful with rh-7.2 network-based installs.
> 
> I picked an nfs/pxe/tftp server, which is currently running RH-7.2.
> 
> Installed anaconda and anaconda-runtime.
> 
> Put rh-7.2/images/pxeboot/initrd.img and vmlinuz in /etc/tftpboot/...
> 
> I can now run interactive net installs with no issues. I merged in all 
> the updates and included a new comps file, so I'm not affected by the 
> perl/Omni dependency issue.
> 
> I use nfs for this. I also have an http server available but had no luck 
> with that method. What I WANT to do is serve my kickstart config files 
> from either the nfs server or the http server so I can do 
> non-interactive installs once I'm past the kernel option passing stage.
> 
> I.E. I want to say Kernel Options: ks=nfs:192.168.1.160/rh-7.2/ks.cfg OR 
> ks=http://192.168.1.160/rh-7.2/ks.cfg.
> 

The 7.2 installer is broken when it comes to ks=http.  It has been fixed
in 7.3, the doc is wrong but the code uses ks=http://kickstart/...

(The 7.3 installer is broken if you mount the ISOs as say disc1/ disc2/
disc3/ - should be fixed in next version.)

I've done nearly what you want in the last few days using 7.3.  I have
the advantage of having control over my DHCP server.  Though not a big
deal.

On my startup image I put ks=http://kickstart/fs.cfg  This is easier and
allows me to update on the fly but is hard coded to a specific file and
if different profile machines are doing this at the same time...  

I used my setup above to build my new secondary name server, including
putting bind 9.2.1 into a chroot jail.


-Chad-


> I have tried both methods, where I have /rh-7.2 in my /etc/exports, have 
> remembered to run exportfs -a, and have placed ks.cfg in /rh-7.2. I have 
> also put ks.cfg in /var/www/html/rh-7.2, where /var/www/html is my 
> apache document root. No luck with the non-interactive install with 
> either of these methods. My ks.cfg points to the RedHat install tree on 
> the nfs server and mounts just fine.
> 
> The only way I have had a successful non-interactive install is to 
> modify my initrd.img, place my ks.cfg in there, and refer to it on the 
> installer kernel boot options line, I.E. options: ks=file:/etc/ks.cfg
> 
> I don't want to do it that way, because I want to be able to easily 
> modify my ks.cfg. Any ideas on what I'm doing wrong with the nfs and 
> http location of the kickstart file?
> 
> Thanks!
> 
> Frank
> 
> 
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/kickstart-list






[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