由于cobbler对redhat的支持性比较好,所以redhat的ks文件比较灵活,但是Ubuntu的preseed就没有这么灵活了。
本片主要是介绍,snippet在proseed如何使用。
对于cobbler的sample.seed
文件不多什么意思,在网络上可以搜索到很多,所以在这里也就不多做解释。重点是下面一段命令
d-i preseed/early_command string wget -O- \
http://$http_server/cblr/svc/op/script/$what/$name/?script=preseed_early_default | \
/bin/sh -s
d-i preseed/late_command string wget -O- \
http://$http_server/cblr/svc/op/script/$what/$name/?sc