[ipxe-devel] Status Update: Booting VMWare ESXi 5.1 installer via iPXE native Multiboot (+iSCSI)

Brandon Penglase bpenglase-ipxe at spaceservices.net
Tue Sep 18 13:07:05 UTC 2012


REMOTE_ADDR is address of the client that is hitting the HTTP server. So 
in this case, it is usually the net0 IP of iPXE.

     Brandon

On 09/18/12 07:09, Marek Salwerowicz wrote:
> Hi,
>
> W dniu 2012-09-17 19:15, Thomas Glanzmann pisze:
>> Hello Marek,
>>
>>> BTW - can you provide me any links to materials how can I use the perl
>>> in kickstart configs? Is it possible eg. to pass the MAC address or
>>> hostname (from DHCP) of the ESXi host to kickstart script and generate
>>> it dynamically?
>>
>> my $hostname = gethostbyaddr(inet_aton($ENV{REMOTE_ADDR}), AF_INET) 
>> or die "Can't resolve $ENV{REMOTE_ADDR}: $!";
> As I understand, the REMOTE_ADDR is the IP assigned by the DHCP server 
> during the iPXE boot?
>
> Regards,
>




More information about the ipxe-devel mailing list