cobbler system list 
cobbler profile list 
  • 方式一:自动选择profile
cobbler system add --name="linux-node1" --profile="centos7.4-x86_64" --interface="eth0" --mac="x.x.x.x.x.x"
  • 方式二:自动选择profile,自动设置ip地址,主机名等相关网络设置
cobbler system add --name="linux-node1" --profile="centos7.4-x86_64" --interface="eth0" --mac="00:50:56:3D:2C:22" \
--hostname="linux-node1" \
--ip-address="192.168.1.40" \
--subnet="255.255.255.0" \
--gateway="192.168.1.1" \
--name-servers="114.114.114.114 114.114.115.115" \
--static="1" \
--netboot-enabled="Y"

相关文章:

  • 2022-12-23
  • 2021-05-18
  • 2022-12-23
  • 2022-02-10
  • 2022-02-02
  • 2021-06-17
猜你喜欢
  • 2021-09-14
  • 2022-12-23
相关资源
相似解决方案