On Thu, Jul 12, 2012 at 7:54 PM, <Eddie.Velez@emulex.com> wrote:

I am working with our development lab to install ESXi5 on system via cobbler. ESXi4 and ESXi5 are different in the they boot I have modified /usr/lib/python2.4/site-packages/cobbler/pxegen.py to handle this and created templates to make sure correct boot options are inserted to tftp boot file. The problem I am facing is coping all necessary files into /tftpboot/images directory and make sure they don’t get deleted next time I do a cobbler sync. Can some please point me to which file I have to modify to copy data to directory.


The distro object has the boot_files field (from item_distro.py)

[ "boot_files",{},0,"TFTP Boot Files",True,"Files copied into tftpboot beyond the kernel/initrd",0,"list"],

You should be able to use just that without any modifications

--
Grtz,
Jörgen Maas