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