Cool, I must have just typo'd that pxeboot file.
Jonathan Sabo <jsabo(a)criminal.org> wrote:
On Wed, Oct 6, 2010 at 11:02 AM, James Cammarata <jimi(a)sngx.net>
wrote:
>
>>
>> I have another person testing too and he was unable to reproduce it.
>> I rm'd my cobbler clone and pulled down a new clone and applied the
>> patch and then made rpms and upgraded. I get the same results. Its
>> looking like it's something to do with my setup but I'm not sure
>> what....
>
> Ok, if you can find a way to reproduce it reliably, let me know and I'll
> troubleshoot it.
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
Something must have been corrupt on my previous test setup. After
creating a new one I was able to get the import to work immediately.
Following import from /var/www/cobbler/$profile_name/ you just cp
{menu.c32,vmkernel.gz,sys.vgz,cim.vgz,ienviron.vgz,install.vgz}
/tftpboot/images/$profile_name/ and then ESXi4 boots up and starts to
install.
It fails though because the pxe template has this:
append $img_path/vmkboot.gz $append_line --- $img_path/vmkernel.gz ---
$img_path/sys.vgz --- $img_path/cim.vgz --- $img_path/ienviron.vgz ---
$img_path/install.vgz ---
That last --- needs to go away.
ESXi4 uses busybox so you have wget... so I had to update the
$kickstart_start and $kickstart_done snippets...
## PXE JUST ONCE
#if $pxe_just_once in [ "1", "true", "yes",
"y" ]
#if $breed == 'redhat'
#set nopxe = "\nwget
\"http://%s/cblr/svc/op/nopxe/system/%s\" -O /dev/null" % (srv,
system_name)
#else if $breed == 'vmware' and $os_version == 'esx4'
#set nopxe = "\ncurl
\"http://%s/cblr/svc/op/nopxe/system/%s\" -o /dev/null" % (srv,
system_name)
#else if $breed == 'vmware' and $os_version == 'esxi4'
#set nopxe = "\nwget
\"http://%s/cblr/svc/op/nopxe/system/%s\" -o /dev/null" % (srv,
system_name)
#end if
#end if
I'm still working through some of this but the patches look good
except for that append line in the template.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.