一次性装100台电脑的系统 批量安装系统软件( 二 )


#cobbler profile edit --name=CentOS-7-x86_64 --kickstart=/var/lib/cobbler/kickstarts/CentOS-7-x86_64.cfg12、Cobbler 常用命令
cobbler check #检查cobbler配置
cobbler sync #同步配置到dhcp/pxe和数据目录
cobbler list #列出所有的cobbler元素
cobbler import #导入安装的系统镜像
cobbler report #列出各元素的详细信息
cobbler distro #查看导入的发行版系统信息
cobbler profile #查看配置信息
cobbler system #查看添加的系统信息
cobbler reposync #同步yum仓库到本地
13、查看详细配置信息,这里把centos7配置信息都显示了
# cobbler profile report# cobbler sync14、配置绑定mac地址和IP地址 ,开机自动选择
# cobbler system add --name=centos711 --mac=00:0C:29:70:E8:A3 --profile=Centos-7-x86_64--ip-address=192.168.0.40 --subnet=255.255.255.0 --gateway=192.168.0.1 --interface=eth0 --static=1 --hostname=centos711 --name-servers="223.5.5.5"# cobbler sync到此cento7系统的也可以装机了


以上关于本文的内容,仅作参考!温馨提示:如遇健康、疾病相关的问题,请您及时就医或请专业人士给予相关指导!

「四川龙网」www.sichuanlong.com小编还为您精选了以下内容,希望对您有所帮助: