Thanks, Niyaz.  However, I had already taken the liberty of manually readding distros, profiles, and systems.  The end result are the files listed below.<br><br>BTW, thanks for reminding me to list versions:<br><br>cobbler 
0.4.6<br>koan 0.2.8<br><br><div><span class="gmail_quote">On 4/21/07, <b class="gmail_sendername">Niyaz Chistee</b> <<a href="mailto:prime.provogue@gmail.com">prime.provogue@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sat, 2007-04-21 at 22:18 -0400, Adam Rosenwald wrote:<br>> I set up cobbler on bootserver according to import procedure<br>><br>> Distro: centos-5<br>><br>> I modified the kickstart file <below> and edited the cobbler settings
<br>> files <below> when the `cobbler import`-generated settings files<br>> caused problems.<br>><br>> ##############<br>><br>> /var/lib/cobbler/settings<br>><br>> ##############<br>><br>> ---
<br>> bootloaders:<br>>     ia64: /var/lib/cobbler/elilo-3.6-ia64.efi<br>>     standard: /usr/lib/syslinux/pxelinux.0<br>> default_kickstart: /etc/cobbler/default.ks<br>> dhcpd_bin: /usr/sbin/dhcpd<br>> dhcpd_conf: /etc/dhcpd.conf
<br>> httpd_bin: /usr/sbin/httpd<br>> kernel_options:<br>>     ksdevice: eth0<br>>     lang: ' '<br>>     text: ~<br>> koan_path: ''<br>> manage_dhcp: 1<br>> minimize_syncs: 1<br>> next_server: <cobbler hostname>
<br>> server: <cobbler hostname><br>> syslog_port: 25150<br>> tftpboot: /tftpboot<br>> tftpd_bin: /usr/sbin/in.tftpd<br>> tftpd_conf: /etc/xinetd.d/tftp<br>> webdir: /var/www/cobbler<br>> yum_core_mirror_from_server: 1
<br>><br>> ##############<br>><br>> /var/lib/cobbler/distros<br>><br>> ##############<br>> -<br>>     arch: x86_64<br>>     breed: redhat<br>>     initrd: /var/www/cobbler/ks_mirror<br>> /centos-5/images/xen/initrd.img
<br>>     kernel: /var/www/cobbler/ks_mirror/centos-5/images/xen/vmlinuz<br>>     kernel_options: {}<br>>     ks_meta: {}<br>>     name: centos-5-xen<br>>     source_ repos:<br>>         -<br>>             - 'http://<cobbler
<br>> hostname>/cobbler/ks_mirror/config/centos-5-xen-0. repo'<br>>             - 'http://<cobbler hostname>/cobbler/ks_mirror/centos-5'<br>> -<br>>  ... additional non-xen centos-5 distro
<br>><br>> ###############<br>><br>> /var/lib/cobbler/profiles<br>><br>> ###############<br>><br>> ---<br>> -<br>>     distro: centos-5-xen<br>>     kernel_options: {}<br>>     kickstart: /etc/cobbler/centos-
5-xen.ks<br>>     ks_meta:<br>>         test_boot_server: <cobbler hostname><br>>     name: testing-centos-5-xen<br>>     repos: []<br>>     virt_file_size: 36<br>>     virt_paravirt: True<br>>     virt_ram: 2048
<br>> -<br>>  ... additional non-xen centos-5 profiles<br>><br>> ###############<br>><br>> /var/lib/cobbler/systems<br>><br>> ###############<br>><br>> ---<br>> -<br>>     kernel_options: {}
<br>>     ks_meta:<br>>         test_gateway: '<my gw>'<br>>         test_hostname: <my hn><br>>         test_ip: '<my ip>'<br>>         test_mac_address: '<my mac>'
<br>>         test_netmask: '<my nm>'<br>>         test_ns: '<my ns>'<br>>     name: '<my mac>'<br>>     netboot_enabled: 1<br>>     profile: testing-centos-5-xen<br>
>     pxe_address: '<my ip>'<br>> -<br>>   ...etc<br>><br>> ###############<br>><br>> /etc/cobbler/centos-5-xen.ks<br>><br>> ###############<br>><br>> #Generated by Kickstart Configurator
<br>> #platform=x86, AMD64, or Intel EM64T<br>><br>> #System  language<br>> lang en_US<br>> #Language modules to install<br>> langsupport en_US<br>> #System keyboard<br>> keyboard us<br>> #System mouse
<br>> mouse<br>> #Sytem timezone<br>> # timezone --utc America/New_York<br>> timezone --utc GMT<br>> #Root password<br>> rootpw --iscrypted <some encrypted passwd><br>> #Reboot after installation
<br>> reboot<br>> #Use text mode install<br>> text<br>> #Install OS instead of upgrade<br>> install<br>> #Use HTTP-based installation Media<br>> url --url http://$test_boot_server/cobbler/ks_mirror/centos-5
<br>> # cobbler should overwrite the preceding anyway -- it doesn't; hence<br>> the need for this ks_meta item in cobbler distro addition<br>><br>> #System bootloader configuration<br>> ## bootloader --location=mbr
<br>> bootloader --location=mbr<br>> #Clear the Master Boot Record<br>> zerombr yes<br>> #Partition clearing information<br>> clearpart --all --initlabel<br>> #Disk partitioning information<br>> part swap --size 2048
<br>> part /var --size 2048<br>> part /tmp --size 2048<br>> part / --fstype ext3 --size 1 --grow<br>><br>> #System authorization infomation<br>> auth  --useshadow  --enablemd5<br>> #Network information
<br>> network --bootproto static --ip $test_ip --netmask $test_netmask<br>> --gateway $test<br>> _gateway --nameserver $test_ns --hostname $test_hostname --device<br>> eth0<br>><br>> #Firewall configuration
<br>> firewall --disabled<br>> #Do not configure XWindows<br>> skipx<br>><br>> #Disable SELinux<br>> selinux --disabled<br>><br>> #Package install information<br>> %packages --resolvedeps<br>> @ development-libs
<br>> @ development-tools<br>> @ editors<br>> @ legacy-software-development<br>> @ legacy-software-support<br>> @ miscallvars<br>> @ mysql<br>> @ system-tools<br>> @ text-internet<br>> @ base-x<br>
> @ mysql<br>><br>> ###################<br>><br>> In sum, after installing koan (again following the instructions from<br>> the "import DVD page") and running<br>><br>>     `koan --virt --server=<cobbler server hostname> --system=<mac
<br>> address of proposed virtual host>`<br>><br>> I received some errors and corrected them in turn, by modifying either<br>> my kickstart file or the cobbler settings (distros, profiles, systems)<br>> files.
<br>><br>> There is one error, however, which perplexes me.  I can load the<br>> centos-5-xen kernel and initrd files.  DHCP appears cool.  Anaconda<br>> starts and then...<br>><br>> ##########<br>><br>
> Unable to read package metadata. This may be due to a missing<br>> |<br>>       | repodata directory.  Please ensure that your install tree has<br>> |<br>>       | been correctly generated.  Cannot open/read 
repomd.xml file<br>> |<br>>       | for repository: anaconda-base-200704101946.x86_64<br>><br>> ##########<br>><br>><br>> This bothers me because in my kickstart file (which I verified the<br>> ks_meta args in /var/www/cobbler/kickstarts_sys/<my mac>/ks.cfg)
<br>> clearly has the correct 'url --url ...' line which points to the<br>> repository.<br>><br>> Any thoughts?<br>><br>> I appreciate your time.<br>><br>> Sincerely,<br>><br>>  - Adam.
<br><br>There has been problem with Centos5 import tree not working with the<br>current version of cobbler. We will soon see a new version of cobbler<br>that is 0.4.7 due monday/tuesday possibly (according to michael). That
<br>will solve the problem.<br>If for the time being you want to use centos I would prefer not to use<br>import and use<br>"cobbler distro add" , "cobbler profile add" and "cobbler system add".
<br><br>Regards<br>Deependra<br>><br><br>_______________________________________________<br>et-mgmt-tools mailing list<br><a href="mailto:et-mgmt-tools@redhat.com">et-mgmt-tools@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/et-mgmt-tools">
https://www.redhat.com/mailman/listinfo/et-mgmt-tools</a><br></blockquote></div><br>