On Wed, Nov 2, 2011 at 4:20 PM, Greg Swift gregswift@gmail.com wrote:
On Wed, Nov 2, 2011 at 07:08, John Paget Bourke john.bourke@mobileinternet.com wrote:
Hi, I would like to build some ESXi 5 servers from cobbler. I understand ESXi is supported, but when I try import it does not work [root@Config esxi5]# cobbler import --name=ESXi5 --arch=x86_64 --path=/media/esxi5/ --rsync-flags="--quiet"
task started: 2011-11-02_193127_import task started (id=Media import, time=Wed Nov 2 19:31:27 2011) scanning /media/esxi5/ for a redhat-based distro signature *** TASK COMPLETE ***
If I try to import ESXi 4.1 it seems ok
[root@Config ~]# cobbler import --name=ESXi41 --arch=x86_64 --path=/media/esxi41/ --rsync-flags="--quiet" task started: 2011-11-02_200431_import task started (id=Media import, time=Wed Nov 2 20:04:31 2011)
scanning /media/esxi41/ for a redhat-based distro signature
Found a vmware compatible signature: imagedd.bz2
running: rsync -a '/media/esxi41/' /var/www/cobbler/ks_mirror/ESXi41-x86_64 --exclude-from=/etc/cobbler/rsync.exclude --progress --quiet Can someone point me at a place where I can modify the code to import ESXi5 ? Are there any other considerations ?
So the code that this happens in is:
/usr/lib/python*/cobbler/modules/manage_import_vmware.py
It appears that they made some changes to what they provide:
http://www.vcritical.com/2011/07/vmware-esxi-5-interactive-pxe-installation-...
So I'm not sure how much work that means, however I believe mainly you just need to look for the identifier to add to the signatures list.
I've gotten the import working now, however I have not tested it at all. There is no response file, so it would pretty much be an interactive install launched from PXE at this point. I've still got some cleanup to do of the code, so with testing expect this to be included in 2.2.3 (release after next, probably a month out).