Preliminary EFI profile booting
by Devan Goodwin
Attached is a patch for getting a start on EFI booting of Cobbler
profiles. Hopefully the details in the commit message cover
everything. Testing / feedback appreciated, let me know if you have
questions.
This hasn't been pushed yet but should apply clean to master as of this morning.
Cheers,
Devan
--
Devan Goodwin <dgoodwin(a)rm-rf.ca>
http://rm-rf.ca
13 years, 5 months
Re: Preliminary ESXi support
by James Cammarata
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.
13 years, 7 months
Preliminary ESXi support
by James Cammarata
Here's my patch for preliminary ESXi pxe boot support. There's still a lot
that needs to be cleaned up/added to this (for instance, the append line
stuff in pxegen is kind of messy, and possibly incomplete), but overall
it's good to go. One major thing, the copying of all the extra .vgz files
that ESXi uses, needs to be done as a post-sync trigger - or if someone can
confirm the fetch-files stuff works (I may have missed a response to the
earlier email I sent regarding that) it could be built in there when the
distro is generated.
I don't have access to github from work, so it's a text patch for now.
When I get home later, I can upload this to my github account so it'll be
easier to merge and test.
Thoughts, comments, and critiques are welcome as always!
Thanks,
James Cammarata.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
13 years, 7 months