On Thu, Jul 11, 2013 at 12:44 PM, Ravi A <arblr@engineer.com> wrote:
I am using cobbler-2.4.0-1.el6. Today even I observed following error message.

Configuration error while parsing /boot.cfg
Fatal error: 15 (not found)

I used "ESXi_v51" as distro name while importing ESXi v5.1 as shown below. Then Cobbler created the directory /var/lib/tftpboot/images/ESXi_v51-x86_64/ with "ESXi v5.1 Installable ISO" file contents. To solve above mentioned error message, I copied /var/lib/tftpboot/images/ESXi_v51-x86_64/boot.cfg to /var/lib/tftpboot/images/ directory and edited /var/lib/tftpboot/images/boot.cfg file accordingly. Later installation went through successfully.


# cobbler import --path=/var/www/html/Cobbler/Mounted_ISO_Images/64bit_ESXi_v51_Installer_Build_799733/ --name="ESXi_v51" --arch="x86_64" --breed="vmware" --os-version="esxi51"

Is there any solution to handle all this manual work automatically ? Kindly reply.

When the ISO was imported, a template file option should have been added, like this:

Template Files : {'/etc/cobbler/pxe/bootcfg_profile_esxi51.template': '$local_img_path/cobbler-boot.cfg'}
 
The PXE and {g,i}PXE templates are setup to look for this new cobbler-boot.cfg file instead, which is generated from a template located at /etc/cobbler/pxe/bootcfg_esxi51.template. This file should be written when you run "cobbler sync".

Please verify that you have this line added, and that you're using the default PXE templates that were provided with cobbler.