weixin_39592240 2020-11-30 10:22
浏览 0

IPXE/GPXE setup

Hello,

I'm trying to set up gpxe/ipxe and I have been following the short guide here https://cobbler.readthedocs.io/en/release28/4_advanced/using%20gPXE.html.

Now after every time i run cobbler sync i get the following error:


2020-01-16T21:01:18 - INFO | REMOTE generate_gpxe; user(?)
2020-01-16T21:01:18 - INFO | generate_gpxe
2020-01-16T21:01:18 - WARNING | errors were encountered rendering the template
2020-01-16T21:01:18 - WARNING |
[{'code': 'VFFSL(SL,"net0",True)/mac',
  'exc_val': NotFound("cannot find 'net0'",),
  'lineCol': (2, 11),
  'rawCode': '${net0/mac}',
  'time': 'Thu Jan 16 21:01:18 2020'}]

Cobbler continues to work as if gpxe is not being used so its not breaking any thing but i thing this is preventing gpxe from being used.

Does any one know if there is a setting i am missing to get this working or if there is as more comprehensive guide on getting ipxe to work with cobbler?

i've looked through the code and see that '${net0/mac}' is added in tftpgen.py and cheetah is fed variables for systems and their distro so is (net)0 something I need to pass the system?

该提问来源于开源项目:cobbler/cobbler

  • 写回答

4条回答 默认 最新

  • weixin_39592240 2020-11-30 10:22
    关注

    I Think i found the problem. There was an old cofiguration in my system set up that assigned the mac address to the key 'mac' with in the interface, changing that to 'mac_address' got rid of that error and now i see the template generated in the dhcp.template.

    评论

报告相同问题?