Cobbler Version 2.0.9
Cobbler Server Fedora 13
I have setup a Cobber Server with a local F13 repository. I can
successfully use PXE to install F13 using a kickstart file. According
to the documentation, it appears as though Cobbler will configure the
yum repositories on the newly installed system to match the repo's I
have locally. I have not been able to get the yum repos configured to
my local repos via the PXE/kickstart procedure. The standard F13 repos
are defined on the newly built system.
My /etc/cobbler/settings file has the option yum_post_install_mirror: 1
configured.
The kickstart file has the $yum_repo_stanza entry as well.
Thanks in advance for your help!!!
TM
[root@build kickstarts]# cobbler distro report
Name : P13-x86_64
Architecture : x86_64
Breed : redhat
Comment : fedora13.1
Initrd :
/var/www/cobbler/ks_mirror/P13-x86_64/images/pxeboot/initrd.img
Kernel :
/var/www/cobbler/ks_mirror/P13-x86_64/images/pxeboot/vmlinuz
Kernel Options : {}
Kernel Options (Post Install) : {}
Kickstart Metadata : {'tree':
'http://@@http_server@@/cblr/links/P13-x86_64'}
Management Classes : []
OS Version : fedora13
Owners : ['admin']
Red Hat Management Key : <<inherit>>
Red Hat Management Server : <<inherit>>
Template Files : {}
[root@build kickstarts]# cobbler profile report
Name : P13-x86_64
Comment :
DHCP Tag : default
Distribution : P13-x86_64
Enable PXE Menu? : True
Kernel Options : {}
Kernel Options (Post Install) : {}
Kickstart : /var/lib/cobbler/kickstarts/default.ks
Kickstart Metadata : {}
Management Classes : []
Name Servers : []
Name Servers Search Path : []
Owners : ['admin']
Parent Profile :
Red Hat Management Key : <<inherit>>
Red Hat Management Server : <<inherit>>
Repos : ['F13-Updates', 'F13']
Server Override : <<inherit>>
Template Files : {}
Virt Auto Boot : 1
Virt Bridge : xenbr0
Virt CPUs : 1
Virt File Size(GB) : 5
Virt Path :
Virt RAM (MB) : 512
Virt Type : qemu
[root@build kickstarts]# cobbler repo report
Name : F13-Updates
Arch : x86_64
Breed : yum
Comment :
Createrepo Flags : <<inherit>>
Environment Variables : {}
Keep Updated : True
Mirror :
http://mirrors.kernel.org/fedora/updates/13/x86_64
Mirror locally : True
Owners : ['admin']
Priority : 99
RPM List : []
Yum Options : {}
Name : F13
Arch : x86_64
Breed : yum
Comment :
Createrepo Flags : <<inherit>>
Environment Variables : {}
Keep Updated : True
Mirror :
http://mirrors.kernel.org/fedora/releases/13/Fedora/x86_64/os/
Mirror locally : True
Owners : ['admin']
Priority : 99
RPM List : []
Yum Options : {}
Kickstart file contents:
--------------------------------
#platform=x86, AMD64, or Intel EM64T
# Install OS instead of upgrade
install
# Use CDROM installation media
#cdrom
# Use network installation
url --url=$tree
# If any cobbler repo definitions were referenced in the kickstart
profile, include them here.
$yum_repo_stanza
# Reboot after installation
reboot
# Root password
rootpw --iscrypted \$1\$H.vYye/z$91xYx.U/2wqyzb.yu.4Tz1
# System authorization information
auth --useshadow --passalgo=md5
# Use text install
text
# System keyboard
keyboard us
# System language
lang en_US
# SELinux configuration
selinux --disabled
# Installation logging level
logging --level=info
firstboot --disable
network --device=eth0 --bootproto=query
# Firewall configuration
firewall --disabled
# System timezone
timezone America/New_York
# System bootloader configuration
bootloader --location=mbr
# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart --all --initlabel
%packages
@base
@admin-tools
@core
@editors
@kde-desktop
@graphical-internet
@base-x
firefox
@dial-up
@system-tools
# Keep dap off the install media, makes Eng & Sci show up
-dap-server-cgi
# filesystem stuff
@filesystems
# Removals
-gimp-help
-java-1.6.0-open*
-xorg-x11-docs
-kernel-doc
-java-1.5.0*
-sinjdoc*
-libgcj-src
-*javadoc*
-frysk
-*gcj*
-*openoffice*
-*games*
%post --interpreter=/bin/bash
chkconfig --levels 0123456 iptables off
chkconfig --levels 0123456 ip6tables off
chkconfig --levels 0123456 bluetooth off
chkconfig --levels 0123456 sendmail off
%end