cobbler 修改 distro_signatures.json

本文介绍了如何编辑cobbler中的distro_signatures.json文件,并指导如何重启cobbler服务以应用更改。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

edit  file in  /var/lib/cobbler/distro_signatures.json
and  restart cobblerd service

 

转自: https://lists.fedorahosted.org/pipermail/cobbler/2014-January/009223.html

转载于:https://www.cnblogs.com/pinganzi/p/5220716.html

[user@bogon test]$ sudo cobbler import --path=/home/user/test/ --name=TopSDS-3.0.3.2A_N_241128 --arch=x86_64 [sudo] password for user: task started: 2025-06-19_094746_import task started (id=Media import, time=Thu Jun 19 09:47:46 2025) running python triggers from /var/lib/cobbler/triggers/task/import/pre/* running shell triggers from /var/lib/cobbler/triggers/task/import/pre/* shell triggers finished successfully Found a candidate signature: breed=suse, version=opensuse15.0 Found a candidate signature: breed=suse, version=opensuse15.1 Found a candidate signature: breed=suse, version=opensuse15.2 Found a candidate signature: breed=suse, version=opensuse15.3 Found a candidate signature: breed=suse, version=sles15generic Exception occurred: <class 'KeyError'> Exception value: 'signatures' Exception Info: File "/usr/lib/python3.6/site-packages/cobbler/remote.py", line 98, in run rc = self._run(self) File "/usr/lib/python3.6/site-packages/cobbler/remote.py", line 286, in runner self.logger File "/usr/lib/python3.6/site-packages/cobbler/api.py", line 1476, in import_tree import_module.run(path, mirror_name, network_root, autoinstall_file, arch, breed, os_version) File "/usr/lib/python3.6/site-packages/cobbler/modules/managers/import_signatures.py", line 191, in run self.signature = self.scan_signatures() File "/usr/lib/python3.6/site-packages/cobbler/modules/managers/import_signatures.py", line 224, in scan_signatures for sig in sigdata["breeds"][breed][version]["signatures"]: !!! TASK FAILED !!!
06-20
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值