Hi
I am installing CentOS4 over ether network using http and kickstart. I boot from the first CentOS CD and at "boot:" prompt I input "ks=http://localserver/install/custom.cfg". Except for minor glitches like "Kernel-Development group not found" warning, the process is smooth and is almost completely automated.
Now, I want to add additional RPMS to the CentOS/RPMS directory to install additional packages in the default install. In preparation, I was regenerating the hdlist using "genhdlist" even before adding the extra RPMS, just to checkout.
A new hdlist and hdlist2 is sucessfully regenerated in CentOS/base dir with a small reduction in file size of hdlist, but the network install fails at the end of "Preparing RPM transaction" screen with the message "install exited abnormally" and shuts down.
Am I missing something?
Thanks in advance
Ajay
On Wed, 2005-06-01 at 11:59 -0400, Ajay wrote:
Hi
I am installing CentOS4 over ether network using http and kickstart. I boot from the first CentOS CD and at "boot:" prompt I input "ks=http://localserver/install/custom.cfg". Except for minor glitches like "Kernel-Development group not found" warning, the process is smooth and is almost completely automated.
Now, I want to add additional RPMS to the CentOS/RPMS directory to install additional packages in the default install. In preparation, I was regenerating the hdlist using "genhdlist" even before adding the extra RPMS, just to checkout.
A new hdlist and hdlist2 is sucessfully regenerated in CentOS/base dir with a small reduction in file size of hdlist, but the network install fails at the end of "Preparing RPM transaction" screen with the message "install exited abnormally" and shuts down.
Am I missing something?
Ajay-
It would be far simpler to setup a yum repository for the additional packages, create a custom yum.conf (or repo file for the repo), and then install that yum.conf or repo file in %post and then follow that up with a
yum -t -y install foo bar baz
Sean
On Wed, 1 Jun 2005, Sean O'Connell wrote:
On Wed, 2005-06-01 at 11:59 -0400, Ajay wrote:
Hi
I am installing CentOS4 over ether network using http and kickstart. I boot from the first CentOS CD and at "boot:" prompt I input "ks=http://localserver/install/custom.cfg". Except for minor glitches like "Kernel-Development group not found" warning, the process is smooth and is almost completely automated.
Now, I want to add additional RPMS to the CentOS/RPMS directory to install additional packages in the default install. In preparation, I was regenerating the hdlist using "genhdlist" even before adding the extra RPMS, just to checkout.
A new hdlist and hdlist2 is sucessfully regenerated in CentOS/base dir with a small reduction in file size of hdlist, but the network install fails at the end of "Preparing RPM transaction" screen with the message "install exited abnormally" and shuts down.
Am I missing something?
Ajay-
It would be far simpler to setup a yum repository for the additional packages, create a custom yum.conf (or repo file for the repo), and then install that yum.conf or repo file in %post and then follow that up with a
yum -t -y install foo bar baz
And even better create an apt repository as well. The process is descibed best by Dag Weirs using yam to create the repository
http://dag.wieers.com/home-made/yam/
if you follow his instructions for this then you will eaily be able to share your custom repository with everyone else.