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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20090925/0bace57c/attachment.html>
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
> 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"Can I take this formatted output and add it into the %packages section of my new kickstart file? I am assuming that using the kickstart GUI, the @development-tools for instance, added to the %packages section will load all packages grouped as "development-tools".> > Finally, where on the installation cd's would I place this kickstartfile ?> Usually put it on a network share or floppy disk, access it via > HTTP or NFS or something.Since I do not have a floppy, only a cdrom drive, is adding to a network share or http or nfs be for upgrading? If for upgrading, how is the kickstart file launched? If I am installing from "bare metal", can I add this kickstart file to the install CD? If so where will I place this file? nate thanks very much. karl -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20090925/facb355e/attachment.html>
Karl Kobata wrote:> Can I take this formatted output and add it into the %packages section of my > new kickstart file?Should be able to yes> I am assuming that using the kickstart GUI, the > @development-tools for instance, added to the %packages section will load > all packages grouped as "development-tools".Yes that's how it's supposed to work I believe. in my configuration I list out the individual packages - http://portal.aphroland.org/~aphro/centos_5_2_32.cfg> Since I do not have a floppy, only a cdrom drive, is adding to a network > share or http or nfs be for upgrading? > If for upgrading, how is the kickstart file launched?Upgrading? I've never used the installer to upgrade so can't speak to that, but the config file is accessed via the kernel command line paramters when you boot from the CD (or PXE if you do net boot). ks=<protocol/path to file>. Myself I've only used http to store my config, so my installer command line looks like this for example: ks=http://10.1.10.31/config/centos_5_2_64/centos_5_2_64.cfg initrd=centos_5_2_64.img ramdisk_size=16384 nofb ksdevice=eth0> If I am installing from "bare metal", can I add this kickstart file to the > install CD? If so where will I place this file?I don't think so, but you can try, just specify the path in the command line.. 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 -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 A government which robs Peter to pay Paul can always depend on the support of Paul -- George Bernard Shaw
> Finally, where on the installation cd?s would I place this kickstart file ?See the instructions I sent out a few weeks ago on how to set up your own KS server -- ?Don't eat anything you've ever seen advertised on TV? - Michael Pollan, author of "In Defense of Food"