0
我正在尝试解决一个补鞋匠问题,请求你的帮助/指导。我们有皮匠的太空行走。当我添加一个新的主机并做一个鞋匠同步时,我得到下面的错误和任务失败。cobbler sync - 生成dhcpd.template文件
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'}]
感谢 Nandakumar