[CentOS] Re: replicate centos installation

Mon Aug 6 10:51:40 UTC 2007
Johnny Hughes <johnny at centos.org>

beast wrote:
> On 06/08/07 09:22 +0200, Mogens Kjaer wrote:
>> beast wrote:
>>>
>>> Since neither anaconda nor system-config-kickstart can give a list of
>>> all packages that
>>> has been installed, waht is the recommended way to replicate one
>>> system for
>>> another new installation (without using hd cloning) ?
>>
>> When you install using anaconda, a kickstart file is generated
>> automatically in /root/anaconda-ks.cfg
>>
>> You can use this as a template for the next installation.
> 
> Yes, sure. But anaconda seems only generate few packages only, even
> though i
> customize lot of package.
> 
That is because anaconda does not list every package ... only the top of
the tree for each.  That is, all the packages required to get the
install.  If it is installing yum and if sqlite is a dependency of yum,
it lists on only yum.

Also ... for hidden groups that are installed, it does not not list
those ... like @core ... but it installs them.

I think you CAN list all the packages if you want (by doing rpm -qa) ...
but make sure to only list packages that are on the DVD (that is the
ones only from the base repo ... or /CentOS/ on the DVD).

Thanks,
Johnny Hughes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20070806/f9924b3f/attachment-0005.sig>