Added files to boot_files for ESXi5 distro but the only way I could get it to work was by
inputting all files to option. I noticed in Web interface Distro> Management there was
already a statement put to do $img_path/*.*=/var/www/cobbler/ks_mirror/distro/*.* . this
fail with below errors, so it looks like wildcards are not being recognized. Just need to
know what is correct syntax to get this to work.
Fri Jul 13 09:07:07 2012 - ERROR | failed to copy file
/var/www/cobbler/ks_mirror/ESX_5.0-x86_64/* to /tftpboot/images/ESX_5.0-x86_64/ for
ESX_5.0-x86_64
Fri Jul 13 09:08:42 2012 - ERROR | failed to copy file
/var/www/cobbler/ks_mirror/ESX_5.0-x86_64/ to /tftpboot/images/ESX_5.0-x86_64/ for
ESX_5.0-x86_64
Fri Jul 13 09:10:10 2012 - ERROR | failed to copy file
/var/www/cobbler/ks_mirror/ESX_5.0-x86_64/*.* to /tftpboot/images/ESX_5.0-x86_64/*.* for
ESX_5.0-x86_64
From: cobbler-bounces(a)lists.fedorahosted.org
[mailto:cobbler-bounces@lists.fedorahosted.org] On Behalf Of Jörgen Maas
Sent: Thursday, July 12, 2012 11:31 AM
To: cobbler mailing list
Subject: Re: [cobbler] ESXi5 system builds via cobbler
On Thu, Jul 12, 2012 at 7:54 PM,
<Eddie.Velez@emulex.com<mailto: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