我可以通过插入inst.ks=http://10.1.1.1:80/cblr/svc/op/ks/profile/derpprofile手动将linux主机指向cobbler服务器的kickstartconfiguration文件(我可以创build一个CD自动执行此操作)。
但现在,我有这个工作,我希望能够根据mac地址将机器导向到不同的configuration文件。
我可以先将它们添加到鞋匠这样:
cobbler system add --name=derpsystem --profile=derpprofile --mac-address=00:15:5D:66:EA:0E --interface=eth0 cobbler system add --name=herpsystem --profile=herpprofile --mac-address=00:15:5D:66:EA:0E --interface=eth0
我想拥有一张启动到通用configuration文件的CD,然后通过查看MAC并指定与该系统关联的configuration文件来决定将哪个configuration文件应用于哪台计算机。
这可能吗?