cobbler 自定义安装系统

1、自定义安装系统(根据mac地址)
--name=定义名称
--mac=客户端的mac地址
--ip-address=需求的ip
--subnet=掩码
--gateway=网关
--interface=网口
--static=是否静态
--hostname=主机名
--name-servers=dns地址
--kickstart=ks文件路径
[root@localhost ~]#cobbler system add --name=linux-node2 --mac=00:50:56:22:84:9F --profile=CentOS-7-x86_64
--ip-address=192.16.56.12 --subnet=255.255.255.0 --gateway=192.168.56.2 --interface=eth0
--static=1 --hostname=linux-node2 --name-servers="192.168.56.2"
--kickstart=/var/lib/cobbler/kickstarts/centos7.cfg
2、客户机网络启动即可自动安装系统

原文地址:https://www.cnblogs.com/guigujun/p/6581129.html