[Spacewalk-list] Kickstart repos

Brandon Perkins bperkins at redhat.com
Thu Jul 10 15:15:24 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



John Hodrien wrote:
> Kickstart created with CentOS 5:
> 
> ./make-ks-tree.sh --channel centos-5.2-64bit --source ../dvd --dsn
> spacewalk/spacewalk at xe --install-type rhel_5 --variant centos --update u2
> --commit
> 
> How come I end up with the following in the kickstart file?
> 
> repo --name=Cluster
> --baseurl=http://preserv1.leeds.ac.uk/kickstart/dist/ks-centos-5.2-64bit-u2/Cluster
> 
> repo --name=ClusterStorage
> --baseurl=http://preserv1.leeds.ac.uk/kickstart/dist/ks-centos-5.2-64bit-u2/ClusterStorage
> 
> repo --name=VT
> --baseurl=http://preserv1.leeds.ac.uk/kickstart/dist/ks-centos-5.2-64bit-u2/VT
> 
> repo --name=Workstation
> --baseurl=http://preserv1.leeds.ac.uk/kickstart/dist/ks-centos-5.2-64bit-u2/Workstation
> 
> 
> VARIANT is being correctly set in make-ks-tree.sh, but I'm clearly missing
> somewhere else where this is set.
> 
> jh
> 

Those are basically hard-coded in for support of the RHEL media kit.
Basically, the logic was, having an invalid repo line does not impact
the install, so the code threw every known media kit directory for
Server/Client as a repo line to be able to grab any package in the
distribution.

Thanks.
Brandon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org

iD8DBQFIdieMhwQhj8l1t/cRAjOVAKCs4dRfoGT8tKcxdznWyIWwa2RC3QCfQMWX
8AFk47zPMOYEmwL8/maS9Bc=
=7DGl
-----END PGP SIGNATURE-----




More information about the Spacewalk-list mailing list