Hennessey Daniel wrote:
Michael,
I was importing from an existing local tree (copied from the CD set)
using;
cobbler import --name=RHEL44-x86-64
--mirror=/var/www/html/pub/yum/4AS/x86-64/up4
Where "/var/www/html/pub/yum/4AS/x86-64/up4" is the root directory of
the installation tree.
Looks like you didn't need to take as many steps.
cobbler import --name=RHEL4u4 --mirror=/mnt/cdrom
or ...
losetup /dev/loop0 /path/to/rhel4u4.iso
mount /dev/loop0 /tmp/loop0
cobbler import --name=RHEL4u4 /tmp/loop0
umount /dev/loop0
losetup -d /dev/loop0
Cobbler will add in the arch information to the name of the distro
object automatically, so leaving off the x86_64 is ok.
If you've copied it yourself, cobbler probably can't automagically
figure out the directory structure.
Thanks for the help, cobbler still rules.
Dan.
-----Original Message-----
From: et-mgmt-tools-bounces@xxxxxxxxxx
[mailto:et-mgmt-tools-bounces@xxxxxxxxxx] On Behalf Of Michael DeHaan
Sent: 03 July 2007 3:42 PM
To: Fedora/Linux Management Tools
Subject: Re: cobbler import arch problem
Hennessey Daniel wrote:
using cobbler to import an existing x86-64 distro tree but when I do a
"cobbler distro report" it says the distro's arch is x86.
I can use "cobbler distro add" and explicitly state the arch but this
leaves the distro tree in place and I was hoping to import all my
kickstart trees to be managed by cobbler.
Any clues?
This shouldn't happen, but it won't cause any adverse results... what
distro source were you using for the import? (i.e. RHEL 4 DVD? rsync
mirror?). If you can
give me further info I'll take a look at see what's wrong with the
auto-detection.
Cobbler uses the arch field to decide when to set up for different
bootloaders, such as "ia64" implying elilo. It doesn't pay attention
to the difference between
x86 and x86_64 as it uses syslinux either way.
If you want to fix it, you can run:
cobbler distro edit --name=foo --arch=x86_64
--Michael
Cheers
Dan
**********************************************************************
**
DISCLAIMER
The information contained in this e-mail is confidential and is
intended
for the recipient only.
If you have received it in error, please notify us immediately by
reply
e-mail and then delete it from your system. Please do not copy it or
use it for any other purposes, or disclose the content of the e-mail
to any other person or store or copy the information in any medium.
The views contained in this e-mail are those of the author and not
necessarily those of Admenta UK Group.
Admenta UK plc is a company incorporated in England and Wales
under company number 3011757 and whose registered office
is at Sapphire Court, Walsgrave Triangle, Coventry CV2 2TX
**********************************************************************
**
----------------------------------------------------------------------
--
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools