[Spacewalk-list] How to create kickstart trees

Bushby, Bruce (London)(c) bbushby at maninvestments.com
Fri Feb 19 11:44:08 UTC 2010


 
Update:
Reading an old post from Erik van Oudheusden, I tried the following
command:
[root at spacewalk sh]# ./make-ks-tree.sh --channel
centos-5.4-x86_64-server --source
/var/satellite/rhn/kickstart/ks-centos-5.4-x86_64-server --dsn
spacewalk/spacewalk at xe --install-type rhel_5 --variant centos
Creating remote kickstart tree directory
... done
Populating kickstart tree
sending incremental file list
 
sent 1030 bytes  received 18 bytes  698.67 bytes/sec
total size is 238808915  speedup is 227871.10
... done
Linting kickstart tree
Can't locate auto/RHN/DB/set_default.al in @INC (@INC contains:
/var/www/lib
/usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.10.0
/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl .) at kickstart-lint.pl line 50
[root at spacewalk sh]#
 
 
Is that "Can't locate..."   an error or just a notice that can be
ignored?
 
 
Bruce
 
 
 

________________________________

From: spacewalk-list-bounces at redhat.com
[mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Bushby, Bruce
(London)(c)
Sent: 19 February 2010 11:37
To: spacewalk-list at redhat.com
Subject: [Spacewalk-list] How to create kickstart trees


Hi
 
I'm hoping someone could share some steps to creating centos and fedora
kickstart trees within spacewalk.
 
I've install spacewalk 0.8 on Fedora 12...so far everything looks
perfect.
I created centos and fedora channels and syncd them, I now have:
 
B centos-5.4-x86_64-server
C       centos-5.4-x86_64-centosplus
C       centos-5.4-x86_64-extras
C       centos-5.4-x86_64-updates
 
B fedora-12-x86_64
C       fedora-12-x86_64-updates
 
I then copied the contents of the dvd.iso's into my "kickstart" area:
 
[root at spacewalk kickstart]# ls -l /var/satellite/rhn/kickstart
total 12
drwxr-xr-x 6 apache root 4096 2010-02-18 15:45
ks-centos-5.4-x86_64-server
drwxr-xr-x 2 apache root 4096 2010-02-18 15:12 ks-fedora-12-x86_64
[root at spacewalk kickstart]#

 
So now I need to create the kickstart trees....this is where I'm stuck,
should I use the following scripts?:
add-kstree.pl
make-ks-tree.sh
kickstart-lint.pl
 
 
 
Appreciate any pointers!
 
 
 
Bruce Bushby
Unix Engineering
Technology Group
Desk: +44 (0) 207 144 3903
Mobile: +44 (0) 7887711769
 

**********************************************************************

Please consider the environment before printing this email or its
attachments.

The contents of this email are for the named addressees only. It
contains information which may be confidential and privileged. If you
are not the intended recipient, please notify the sender immediately,
destroy this email and any attachments and do not otherwise disclose or
use them. Email transmission is not a secure method of communication and
Man Investments cannot accept responsibility for the completeness or
accuracy of this email or any attachments. Whilst Man Investments makes
every effort to keep its network free from viruses, it does not accept
responsibility for any computer virus which might be transferred by way
of this email or any attachments. This email does not constitute a
request, offer, recommendation or solicitation of any kind to buy,
subscribe, sell or redeem any investment instruments or to perform other
such transactions of any kind. Man Investments reserves the right to
monitor, record and retain all electronic communications through its
network to ensure the integrity of its systems, for record keeping and
regulatory purposes. 

Visit us at: www.maninvestments.com 

TG0908

**********************************************************************

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20100219/de825794/attachment.htm>


More information about the Spacewalk-list mailing list