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