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

Marek Salwerowicz marek_sal at wp.pl
Tue Sep 18 11:09:45 UTC 2012


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,

-- 
Marek Salwerowicz



More information about the ipxe-devel mailing list