[CentOS] unattended install via nfs

MrKiwi mrkiwi at gmail.com
Tue May 29 22:27:59 UTC 2007


Jean Figarella wrote:
> 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
>>
>>
>>     _______________________________________________

> 
> Doesn'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
I've always wondered about that, and also about the option 
of creating a (for example) 4.5 CD (ie the 4.0 iso with the 
updated packages included/replaced so that the end result is 
a 4.5 machine even before you do a 'yum update'.

Can anyone shed some light?

MrKiwi



More information about the CentOS mailing list