[ovirt-users] ipxe and nslookup
Cam Mac
iucounu at gmail.com
Wed Jun 1 09:33:54 EDT 2016
Hi,
I am using pxeboot with oVirt, which I believe uses ipxe as it's pxe
implementation. In our kickstart menu, we need to do a hostname lookup to
choose the appropriate local server as there are different boot servers in
different global locations. For this, we are currently relying upon the
'nslookup' command, which is available in Xen and VMWare pxe command sets,
but the oVirt/KVM one does not have this command enabled. I've tried a
workaround using php commands, e.g.:
<?php $ip = gethostbyname('wds'); ?>
set wds <?php echo $ip; ?>
set net0/next-server ${wds}
However, this does not work. Is there a possibility to get the nslookup
function enabled in ipxe (apparently it is a compile time option). I could
probably recompile the pxe rom, and substitute it on my install, but then
when I update it will get clobbered.
Or is there another way of getting this functionality?
Thanks,
Cam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160601/bec610dd/attachment.html>
More information about the Users
mailing list