[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] gPXE useâr class

Ahhh, okay.  What I'd suggest is to use an embedded script in a
replacement ROM binary.  For the script, I think you would use:

set user-class MY_USER_CLASS

To use gPXE, you can build the image using rom-o-matic, available

iPXE doesn't yet have an equivalent to gPXE's rom-o-matic, so that
would involve building it yourself from source.

As for what to do with the ROM binary when you get it... I'm not sure
how to add that file into a VM under Xen.  I assume it's just some
simple change to the VM config file, though.  Perhaps someone else on
the list here could help with that?

Alternatively, you could build a bootable ISO of your customized gPXE,
connect *that* to your VM and boot from CD, and achieve the same

Best Regards,
Andrew Bobulsky

On Fri, Apr 13, 2012 at 12:20 AM, Vlad <uniken1@xxxxxxxxxx> wrote:
> Detail:
> Im using XenServer 6. When start VM and press ctrl-b, I can configure
> user-class in PXE console(screen on link).
> http://i32.fastpic.ru/big/2012/0411/c9/4d6028f65a6353e2559dc561f0e834c9.png
> dhcp server successfully understand it. But it works only for one loading.
> On same screen I can see uuid of vm, that gives the chance to me to assume
> that all these parameters can be preconfigured.
> If it requires changeover of the binary rom, how to make it for VM?
>> От:                  Andrew Bobulsky <rulerof@xxxxxxxxx>
>> К:                   Vlad <uniken1@xxxxxxxxxx>
>> А также к:           xen-users@xxxxxxxxxxxxx
>> Время создания:      Thu, 12 Apr 2012 12:56:47 -0400
>> Тема:                [Xen-users] gPXE user class
>> Прикрепленные файлы: <none>
>> Hello Vlad,
>> If you're trying to change the user or vendor classes that gPXE uses,
>> that's probably actually in the realm of modifying the ROM binary used
>> by Xen, and then adding it to your virtual machine.  If you could be
>> more specific about what you're trying to do, I may be able to offer
>> more help, but at this point I'm not quite sure... My apologies ;)
>> If you're trying to make use of these options, simply configure your
>> DHCP server to recognize the gPXE class:
>> For Microsoft:
> http://etherboot.org/wiki/msdhcp#setting_up_a_gpxe_encapsulated_options_on_windows_dhcp
>> For ISC dhcpd: http://etherboot.org/wiki/dhcpd
>> If you're going to be replacing the binary entirely, I'd suggest using
>> iPXE instead.  It's an actively-maintained, up-to-date fork of the
>> gPXE project with significantly more features: http://ipxe.org/
>> Best Regards,
>> Andrew Bobulsky
>> On Thu, Apr 12, 2012 at 6:41 AM, Vlad <uniken1@xxxxxxxxxx> wrote:
>> > Hello all.
>> > Can anyone tell, is it possible to preconfigure user-class or
>> vendor-class
>> > for gPXE for Xen VM?
>> >
>> >
>> > --
>> > Vlad.
>> >
>> > _______________________________________________
>> > Xen-users mailing list
>> > Xen-users@xxxxxxxxxxxxx
>> > http://lists.xen.org/xen-users
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxx
>> http://lists.xen.org/xen-users

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.