Hello, Does anyone have a guide for setting up an nfs server for unattended deployment of centos5? Basically what i want to do is boot a system from CD media, pass a boot parameter nfs, and ks= options then walk away, the box goes out to the nfs server, finds the kickstart file, reads, and does it. I've got several machines and i'd rather not do manual installs. Thanks. Dave.
Dave wrote:> Hello, > Does anyone have a guide for setting up an nfs server for unattended > deployment of centos5? Basically what i want to do is boot a system from > CD media, pass a boot parameter nfs, and ks= options then walk away, the > box goes out to the nfs server, finds the kickstart file, reads, and > does it. I've got several machines and i'd rather not do manual installs. > Thanks. > Dave. > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >How about unattended via http? Given that you probably have a cache of the updates (given that you have 'several machines'), you already have apache running somewhere with a cron to rsync the updates from the nearest mirror? Thats what i do; centos5 dvd mounted on /var/www/html/cd/0 Boot from cd, linux ks=http://10.1.1.8/unattend.cfg Not sure if you can put the update (yum -y update) at the bottom of the kickstart cfg as the box doesnt have working DNS lookups at that point (AFAIK) I usually log on as root, replace the /etc/yum.repo.d/CentOS-Base.repo with my own and then # yum -y update # reboot That way you dont need NFS (unless for some other business reason) MrKiwi
On 5/29/07, Dave <dmehler26 at woh.rr.com> wrote:> > Hello, > Does anyone have a guide for setting up an nfs server for unattended > deployment of centos5? Basically what i want to do is boot a system from > CD > media, pass a boot parameter nfs, and ks= options then walk away, the box > goes out to the nfs server, finds the kickstart file, reads, and does it. > I've got several machines and i'd rather not do manual installs. > Thanks. > Dave.Hi, Generate a ks.cfg file either using from previous working machine or just run system-config-kickstart, then have your installation image exported on nfs server as well you're new ks.cfg file, from you're would be kickstart client you can boot and issue: ks=nfsserver:/export/ks.cfg HTH, joseph _______________________________________________> CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070529/1511cf1b/attachment.html>
joseph tacuyan wrote:> > > On 5/29/07, *Dave* <dmehler26 at woh.rr.com <mailto:dmehler26 at woh.rr.com>> > wrote: > > Hello, > Does anyone have a guide for setting up an nfs server for unattended > deployment of centos5? Basically what i want to do is boot a system > from CD > media, pass a boot parameter nfs, and ks= options then walk away, > the box > goes out to the nfs server, finds the kickstart file, reads, and > does it. > I've got several machines and i'd rather not do manual installs. > Thanks. > Dave. > > > > Hi, > > > Generate a ks.cfg file either using from previous working machine or > just run system-config-kickstart, then have your installation image > exported on nfs server as well you're new ks.cfg file, from you're would > be kickstart client you can boot and issue: > > ks=nfsserver:/export/ks.cfg > > HTH, > > joseph > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org <mailto:CentOS at centos.org> > http://lists.centos.org/mailman/listinfo/centos > > > > ------------------------------------------------------------------------ > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centosDoesn't Centos 5 gives you the option of adding yum repos to the kickstart file? So if you add the updates repo then it installs an updated os from the get go? Therefor you wouldn't need the yum update -y at the end? Jean