Over the last couple of weeks, additional software was installed using the package manager.
I would like to get a custom kickstart file created for our system. For this, I would like to get complete list of software installed so they may be add to the kickstart file package selection.
Can anyone tell me if this can be done? If it can, please give me instructions?
Finally, where on the installation cd's would I place this kickstart file ?
Thank you.
Karl Kobata wrote:
Can anyone tell me if this can be done? If it can, please give me instructions?
rpm -qa
or perhaps rpm -qa --queryformat "%{NAME}\n"
Finally, where on the installation cd's would I place this kickstart file ?
Usually put it on a network share or floppy disk, access it via HTTP or NFS or something.
nate
On Fri, Sep 25, 2009, Karl Kobata wrote:
Over the last couple of weeks, additional software was installed using the package manager.
I would like to get a custom kickstart file created for our system. For this, I would like to get complete list of software installed so they may be add to the kickstart file package selection.
Can anyone tell me if this can be done? If it can, please give me instructions?
This will give you a list of installed packages:
yum list installed
Finally, where on the installation cd's would I place this kickstart file ?
You should have a file, /root/anaconda-ks.cfg, that was built when the system was installed which you can use as a starting point to see how things should be done.
We normally use network installs starting with the minimal network install CD. The configuration goes in the base directory of the disk, often as ks.cfg which is specified at the boo prompt
Linux: ks=cdrom:ks.cfg
We have a few variants of this such as ksvmware.cfg to install in VMware virtural machines which we configure a bit differently than we do on-hardware systems.
Bill
On Fri, 25 Sep 2009, Bill Campbell wrote:
yum list installed
rpm -qa --queryformat '%{name}\n' will give you more useful output for kickstart
Finally, where on the installation cd's would I place this kickstart file ?
I would suggest putting it on a USB stick, or a web directory somewhere. No need to burn more cd's. Check out the Red Hat site (under documentation) for more info on kickstart.
---------------------------------------------------------------------- Jim Wildman, CISSP, RHCE jim@rossberry.com http://www.rossberry.com "Society in every state is a blessing, but Government, even in its best state, is a necessary evil; in its worst state, an intolerable one." Thomas Paine
On Fri, Sep 25, 2009, Jim Wildman wrote:
On Fri, 25 Sep 2009, Bill Campbell wrote:
yum list installed
rpm -qa --queryformat '%{name}\n' will give you more useful output for kickstart
Except that jumpstart likes packages which that will not provide, only the individual RPMs.
Bill
Hi Bill,
On 26/09/09 16:03, Bill Campbell wrote:
rpm -qa --queryformat '%{name}\n' will give you more useful output for kickstart
Except that jumpstart likes packages which that will not provide, only the individual RPMs.
Can you expand a bit on what you mean by 'jumpstart likes packages' ? a rpm -qa will give you a list of all rpms installed on the machine, which is exactly what anaconda would like.
- KB