如何组织全自动安装(FAI)课程主机?
完全自动化的安装(FAI)在文件50主持级中具有主机。目前,我们有许多具有相似名称的主机(例如,ba-hostxx.subdomain)。子域是不同的,但不能指定host.subdomain在类文件中为'。无效。
是否可以在不同的文件中拥有不同的主机? 方式指定主机
hostname*)
echo "BASEFILE FILE" ;;
还是以其他
cluster/hostname*)
echo "BASEFILE FILE" ;;
?
该文档将所有主机都坐在50个文件中的意见中。
Fully Automated Install (FAI) has hosts in the file 50-host-classes. We currently have a bunch of hosts which have similar names (eg, ba-hostxx.subdomain). The sub-domains are different but one cannot specify host.subdomain in the class file as the '.' is invalid.
Is it possible to have different hosts in different files? Or to specify the host in some other fashion than just
hostname*)
echo "BASEFILE FILE" ;;
such as
cluster/hostname*)
echo "BASEFILE FILE" ;;
?
The documentation leads one to the opinion that all hosts sit in the 50- file.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在$ FAI/类/文件夹中创建任何数量的脚本来为主机生成类。他们只需要根据您的标准打印出正确的类名称即可。下面的示例。
class/51年级别
You can create any number of scripts in the $FAI/class/ folder to generate classes for the hosts. They just need to print out the correct class name(s) based on your criteria. Example below.
class/51-more-classes