Importing a DVD correctly determines the architecture and sets it correctly:

distro               : testing-x86_64
breed                : redhat
os version           : rhel5
architecture         : x86_64
initrd               : /mnt/images/pxeboot/initrd.img
kernel               : /mnt/images/pxeboot/vmlinuz
kernel options       : {}
post kernel options  : {}
ks metadata          : {'tree': 
'nfs://filer-appdata01:/vol/dvol/appdata/osimages/redhat/iso/rhel-5.2/'}
owners               : ['admin']

But even when I specify the architecture as "x86_64", using "distro add" 
or "distro edit" always sets the architecture to "i386".

cobbler distro add \
--name=rhel-5.2-server-x86_64 \
--kernel=/appdata/osimages/redhat/bootimages/rhel-5.2-server-x86_64/vmlinuz 
\
--initrd=/appdata/osimages/redhat/bootimages/rhel-5.2-server-x86_64/initrd.img 
\ 
--ksmeta="tree=nfs://filer-appdata01:/vol/dvol/appdata/osimages/redhat/iso/rhel-5.2/"
 
\
--arch=x86_64 \
--breed=redhat \
--os-version=rhel5

Results in:

distro               : rhel-5.2-server-x86_64
breed                : redhat
os version           : rhel5
architecture         : i386
initrd               : 
/appdata/osimages/redhat/bootimages/rhel-5.2-server-x86_64/initrd.img
kernel               : 
/appdata/osimages/redhat/bootimages/rhel-5.2-server-x86_64/vmlinuz
kernel options       : {}
post kernel options  : {}
ks metadata          : {'tree': 
'nfs://filer-appdata01:/vol/dvol/appdata/osimages/redhat/iso/rhel-5.2/'}
owners               : ['admin']

The only way to change the architecture is to manually modify the file 
in distro.d.


Chris
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to