我正在尝试解决鞋匠问题,请您提供同样的帮助/指导。我们有鞋匠的太空行走。当我添加一个新主机并进行 cobbler 同步时,我收到以下错误并且 TASK FAILED。
rendering DHCP files
generating /etc/dhcp/dhcpd.conf
Exception occured: <class 'cexceptions.CX'>
Exception value: 'Error templating file, check cobbler.log for more details'
当我交叉检查 cobbler.log 时,这些条目被记录下来......
Mon Apr 25 14:44:45 2016 - WARNING | errors were encountered rendering the template
Mon Apr 25 14:44:45 2016 - WARNING |
[{'code': u'VFFSL(SL,"net0",True)/mac',
'exc_val': NotFound("cannot find 'net0'",),
'lineCol': (2, 11),
'rawCode': u'${net0/mac}',
'time': 'Mon Apr 25 14:44:45 2016'}]
谢谢南达库玛