when i config ironic with ipxe then boot from pxe, the undionly.kpxe download success, but loop to download undionly.kpxe cant't down load boot.ipxe.I think because the dnsmasq can't recognize tag ipxe,then fix the cmd start dnsmasq like:
cmd = [
'dnsmasq',
'--no-hosts',
'--no-resolv',
'--strict-order',
'--bind-interfaces',
'--interface=%s' % self.interface_name,
'--except-interface=lo',
'--pid-file=%s' % pid_file,
'--dhcp-hostsfile=%s' % self.get_conf_file_name('host'),
'--addn-hosts=%s' % self.get_conf_file_name('addn_hosts'),
'--dhcp-optsfile=%s' % self.get_conf_file_name('opts'),
'--leasefile-ro',
'--dhcp-user-class=%s'%'tag:ixpe,iPXE',
]
the problem be fixed.
Hi FenghuaFang,
You can add below info in neutron conf and restart neutron then it should work. set:ipxe, 175"
"dhcp-match=