Re: [CentOS] Centos 5.3 - kickstart configuration

2009-09-28 Thread Alan McKay
> 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"
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 5.3 - kickstart configuration

2009-09-27 Thread Karanbir Singh
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
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 5.3 - kickstart configuration

2009-09-26 Thread Bill Campbell
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
-- 
INTERNET:   b...@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

Virtually everything is under federal control nowadays except the
federal budget.  -- Herman E. Talmadge, 1975
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 5.3 - kickstart configuration

2009-09-25 Thread Jim Wildman
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   j...@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
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 5.3 - kickstart configuration

2009-09-25 Thread Bill Campbell
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:   b...@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
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 5.3 - kickstart configuration

2009-09-25 Thread nate
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=. 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


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 5.3 - kickstart configuration

2009-09-25 Thread Karl Kobata
> 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 kickstart
file ?
 
> 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
 

 

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 5.3 - kickstart configuration

2009-09-25 Thread 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"



> 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


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos 5.3 - kickstart configuration

2009-09-25 Thread Karl Kobata
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.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos