[et-mgmt-tools] Using cobbler to mirror repos like updates/extras -- further information
Demetri Mouratis
dmourati at gmail.com
Wed Mar 7 16:56:16 UTC 2007
On 3/7/07, Dhawal Doshy <dhawal at netmagicsolutions.com> wrote:
> Demetri Mouratis wrote:
> > Hi Michael,
> >
> > I went with the repo mirroring route:
> >
> > [root at hemops2 ~]# cobbler import --name=centos-4.4
> > --mirror=rsync://rsync.mirrorservice.org/mirror.centos.org/4.4/os/i386/CentOS/
> >
> >
> > This went fine.
> >
> > Adding the distro, however, gives me some trouble:
> >
> > [root at hemops2 ~]# cobbler distro add --name=centos4.4
> > --kernel=/var/www/cobbler/repo_mirror/centos-4.4-i386/images/pxeboot/vmlinuz
> >
> > --initrd=/var/www/cobbler/repo_mirror/centos-4.4-i386/images/pxeboot/initrd.img
>
> This is resolved in 0.4.3, what version are you running?
>
Hi Dhawal,
I was on 0.4.2. An upgrade to 0.4.3 fixed the problem:
[root at hemops2 ~]# rpm -Uvh
/usr/src/redhat/RPMS/noarch/cobbler-0.4.3-0.noarch.rpm
Preparing... ########################################### [100%]
1:cobbler ########################################### [100%]
[root at hemops2 ~]# cobbler distro add --name=centos44
--kernel=/var/www/cobbler/repo_mirror/centos-4.4-i386/images/pxeboot/vmlinuz
--initrd=/var/www/cobbler/repo_mirror/centos-4.4-i386/images/pxeboot/initrd.img
[root at hemops2 ~]# cobbler list
Distros:
centos44
Repos:
centos-4.4-i386
Profiles:
Systems:
Thanks.
More information about the et-mgmt-tools
mailing list